]> git.ipfire.org Git - 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, 15 Jul 2025 09:39:08 +0000 (09:39 +0000)
commit5acb54c2679e8140372f56de2078463c2467ecff
tree396efc02d9addee1be2d72e0d276cef59191096b
parenteb1b0ed1bf60f211d1f7da446542680f7f07e1c1
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