README.txt 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. NSSM: The Non-Sucking Service Manager
  2. Version 1.0, 2003-05-30
  3. NSSM is a service helper program similar to srvany and cygrunsrv. It can
  4. start any application as an NT service and will restart the service if it
  5. fails for any reason.
  6. NSSM also has a graphical service installer and remover.
  7. Installation
  8. ------------
  9. To install a service, run
  10. nssm install servicename
  11. You will be prompted to enter the full path to the application you wish
  12. to run and any commandline options to pass to that application.
  13. Use the system service manager (services.msc) to control advanced service
  14. properties such as startup method and desktop interaction. NSSM may
  15. support these options at a later time...
  16. Managing the service
  17. --------------------
  18. NSSM will launch the application listed in the registry when you send it a
  19. start signal and will terminate it when you send a stop signal. So far, so
  20. much like srvany. But NSSM is the Non-Sucking service manager and will take
  21. action if/when the application dies.
  22. NSSM will try to restart itself if it notices that the application died but
  23. you didn't send it a stop signal. NSSM will keep trying, pausing 30 seconds
  24. between each attempt, until the service is successfully started or you send
  25. it a stop signal.
  26. Removing services
  27. -----------------
  28. NSSM can also remove services. Run
  29. nssm remove servicename
  30. to remove a service. You will prompted for confirmation before the service
  31. is removed. Try not to remove essential system services...
  32. Licence
  33. -------
  34. NSSM is public domain. You may unconditionally use it and/or its source code
  35. for any purpose you wish.