

This signal may also be internally generated by a timeout condition, governed by the -ping-restart option. Preserve local IP address/port, or preserve most recentlyĪuthenticated remote IP address/port based on -persist-tun, -persist-key, -persist-local-ip and -persist-remote-ip options respectively (see above). Like SIGHUP`, except don't re-read configuration file, and possibly don't close and reopen TUN/TAP device, re-read key files,

SIGHUP Cause OpenVPN to close all TUN/TAP and network connections, restart, re-read the configuration file (if any), and SIGUSR2 - Output connection statistics to log file or syslog

OpenVPN accepts several signals: SIGUSR1 - Conditional restart, designed to restart without root privileges You can just send SIGINT signal to openvpn and it will stop gracefully.
