How To NT Service

From arrizza.org wiki

Jump to navigation Jump to search

To check if a service is running

  * enter: cygrunsrv --list

To create a new service

  * install the service: cygrunsrv --install service_name -p /the/path/to/the/executable -a -any_parameters_to_the_service
  * start the service  : cygrunsrv --start service_name

To delete a service

  * stop the service   : cygrunsrv --stop service_name
  * remove the service : cygrunsrv --remove service_name
  * check it's gone    : cygrunsrv --list
Personal tools