From: Iain Patterson Date: Wed, 7 Sep 2016 07:37:23 +0000 (+0100) Subject: Document setting hooks on the command line. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=91a7219acf26879b374485e9f0c30f6b43af07a4;p=nssm.git Document setting hooks on the command line. --- diff --git a/README.txt b/README.txt index 2efc968..34bacc0 100644 --- a/README.txt +++ b/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 AppEvents / + Note that NSSM will abort the startup of the application if a Start/Pre hook returns exit code of 99.