mirror of
https://github.com/Nyr/openvpn-install.git
synced 2024-11-27 15:36:07 +03:00
Use openvpn status path from systemd service
The new systemd service at `/usr/lib/systemd/system/openvpn-server@.service` that comes with openvpn 2.4 includes the status option in `ExecStart=/usr/sbin/openvpn --status %t/openvpn-server/status-%i.log --status-version 2 --suppress-timestamps --config %i.conf` Using this default allows to have multiple servers with their own status files and all in the same log directory. Example `/run/openvpn-server/status-server.log` `/run/openvpn-server/status-server2.log`
This commit is contained in:
parent
61549ffcef
commit
025148c245
@ -310,7 +310,6 @@ user nobody
|
|||||||
group $group_name
|
group $group_name
|
||||||
persist-key
|
persist-key
|
||||||
persist-tun
|
persist-tun
|
||||||
status openvpn-status.log
|
|
||||||
verb 3
|
verb 3
|
||||||
crl-verify crl.pem" >> /etc/openvpn/server/server.conf
|
crl-verify crl.pem" >> /etc/openvpn/server/server.conf
|
||||||
if [[ "$protocol" = "udp" ]]; then
|
if [[ "$protocol" = "udp" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user