]> 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>
Tue, 16 Apr 2024 12:01:31 +0000 (14:01 +0200)
commitd2d4722208aface4c47df57754dfa93ada0aac32
treee5c357c04fd504d50cb9439196105db8c9a9050b
parenta53b94939574105a2952caf3a5caa366fdfa7366
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