فهرست منبع

Document setting hooks on the command line.

Iain Patterson 7 سال پیش
والد
کامیت
91a7219acf
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      README.txt

+ 4 - 0
README.txt

@@ -572,6 +572,10 @@ resumes from standby by setting AppEvents\Power\Resume to:
 
     %NSSM_EXE% restart %NSSM_SERVICE_NAME%
 
+To set a hook on the command line, use
+
+    nssm set <servicename> AppEvents <event>/<action> <command>
+
 Note that NSSM will abort the startup of the application if a Start/Pre hook
 returns exit code of 99.