git://git.iain.cx/iain
/
nssm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c88bc1
)
Document setting hooks on the command line.
author
Iain Patterson
<me@iain.cx>
Wed, 7 Sep 2016 07:37:23 +0000
(08:37 +0100)
committer
Iain Patterson
<me@iain.cx>
Wed, 7 Sep 2016 07:37:23 +0000
(08:37 +0100)
README.txt
patch
|
blob
|
history
diff --git
a/README.txt
b/README.txt
index
2efc968
..
34bacc0
100644
(file)
--- a/
README.txt
+++ b/
README.txt
@@
-572,6
+572,10
@@
resumes from standby by setting AppEvents\Power\Resume to:
\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