3 Commits (f76171a9d3b313a233d84728d212f8237e5fd010)

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