]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
ovpnmain.cgi: Restart instead of reload
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Apr 2024 12:01:31 +0000 (14:01 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Sep 2024 11:29:09 +0000 (13:29 +0200)
commita0448057e1e69e56e7d284ee31311f67cebfc93d
tree7d582f889ca93ddd56bbb424454b09006ff736dd
parentf9bd4ea94a56eafcb716dbe562556f60191dd6c8
ovpnmain.cgi: Restart instead of reload

The option to reload the server does not seem to work well. The running
is process is performing a number of checks that make very little sense
and PID files get written by the user that launches the process (i.e.
root) instead of the user that the process is running as later on (i.e.
nobody). Since there is no chance to keep any existing connections alive
this way, we may just as well restart the service for now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi
src/initscripts/system/openvpn-rw