Tweaks for NANO server.
[nssm.git] / README.txt
index 2efc968..e6d3d50 100644 (file)
@@ -572,6 +572,10 @@ resumes from standby by setting AppEvents\Power\Resume to:
 \r
     %NSSM_EXE% restart %NSSM_SERVICE_NAME%\r
 \r
 \r
     %NSSM_EXE% restart %NSSM_SERVICE_NAME%\r
 \r
+To set a hook on the command line, use\r
+\r
+    nssm set <servicename> AppEvents <event>/<action> <command>\r
+\r
 Note that NSSM will abort the startup of the application if a Start/Pre hook\r
 returns exit code of 99.\r
 \r
 Note that NSSM will abort the startup of the application if a Start/Pre hook\r
 returns exit code of 99.\r
 \r
@@ -1038,6 +1042,7 @@ Thanks to Marcin Lewandowski for spotting a bug appending to large files.
 Thanks to Nicolas Ducrocq for suggesting timestamping redirected output.\r
 Thanks to Meang Akira Tanaka for suggestion and initial implementation of\r
 the statuscode command.\r
 Thanks to Nicolas Ducrocq for suggesting timestamping redirected output.\r
 Thanks to Meang Akira Tanaka for suggestion and initial implementation of\r
 the statuscode command.\r
+Thanks to Kirill Kovalenko for reporting a crash with NANO server.\r
 \r
 Licence\r
 -------\r
 \r
 Licence\r
 -------\r