From 91a7219acf26879b374485e9f0c30f6b43af07a4 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Wed, 7 Sep 2016 08:37:23 +0100 Subject: [PATCH] Document setting hooks on the command line. --- README.txt | 4 ++++ 1 file changed, 4 insertions(+) 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. -- 2.20.1