Windows Service 등록

Yongs12 ㅣ 2025. 5. 20. 22:37

 

 

ex) Gitea 실행
sc.exe 내장 프로그램

create "Service명"

start = auto  (실행 시 자동)

binPath 실행 경로 및 설정 파일 경로

sc.exe create gitea start= auto binPath= "\"C:\Gitea\gitea\gitea-server.exe\" web --config \"C:\Gitea\custom\conf\app.ini\""

 

 

sc delete "Service명"

sc delete gitea

'참고 사항' 카테고리의 다른 글

RDP 포트번호 변경  (0) 2025.05.20
메모리 영역  (0) 2023.02.13
visual studio2022 자주 쓰는 단축키  (0) 2023.01.19