3 Commits (06a62a665e152850d082607eced4fa4654f1bf70)

Author SHA1 Message Date
Iain Patterson 06a62a665e Compile messages.
Don't spam the event log with warnings about not finding application
messages.
Every message currently uses the default event ID 1.
15 years ago
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 d007ff22ce NSSM 1.0. 15 years ago