본문 바로가기

Utility For All

윈도우에서 프로그램을 서비스로 등록하기


NSSM. 서비스로 등록하는 프로그램

다운로드: http://nssm.cc/release/nssm-2.24.zip


NSSM: The non-sucking service manager

Version 2.24 32-bit, 2014-08-31

Usage: nssm <option> [<args> ...]


To show service installation GUI:


        nssm install [<servicename>]


To install a service without confirmation:


        nssm install <servicename> <app> [<args> ...]


To show service editing GUI:


        nssm edit <servicename>


To retrieve or edit service parameters directly:


        nssm get <servicename> <parameter> [<subparameter>]


        nssm set <servicename> <parameter> [<subparameter>] <value>


        nssm reset <servicename> <parameter> [<subparameter>]


To show service removal GUI:


        nssm remove [<servicename>]


To remove a service without confirmation:


        nssm remove <servicename> confirm


To manage a service:


        nssm start <servicename>


        nssm stop <servicename>


        nssm restart <servicename>


        nssm status <servicename>


        nssm rotate <servicename>