3 Commits (0ac37dac5807d10287e6f2ff78aa3c9c20e24114)

Author SHA1 Message Date
Iain Patterson c425384408 Decide how to handle application exit.
When the service exits with exit code n look in
HKLM\SYSTEM\CurrentControlSet\Services\<service>\Parameters\AppExit\<n>,
falling back to the unnamed value if no such code is listed.  Parse the
(string) value of this entry as follows:

    Restart: Start the application again (NSSM default).
    Ignore:  Do nothing (srvany default).
    Exit:    Stop the service.
15 years ago
Iain Patterson 167b3e7400 NSSM 2.0. 15 years ago
Iain Patterson d007ff22ce NSSM 1.0. 15 years ago