Hi,

When nssm is used to start openvpn, "nssm stop service-name" appears to
terminate the process not so gracefully. Especially, the log doesn't
show the usual "SIGTERM received, sending exit-notify" (for example) nor
does the the management interface get the state change message saying
EXITING.  (Tested on version 2.3.6)

I thought adding --service to the command line may cure this, but it
doesn't. Any suggestions on how to teach openvpn to process termination
by nssm as a SIGTERM, or make nssm send a SIGTERM?

Hi,

Based on NSSM documentation forcibly killing the daemon is the last resort:

<http://nssm.cc/usage#shutdown>

Best regards,

--
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

Reply via email to