Skip to content

Commit

Permalink
Use openvpn status path from systemd service
Browse files Browse the repository at this point in the history
The new systemd service at `/usr/lib/systemd/system/[email protected]` 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`
  • Loading branch information
randomshell authored May 3, 2020
1 parent 61549ff commit 025148c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion openvpn-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ user nobody
group $group_name
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem" >> /etc/openvpn/server/server.conf
if [[ "$protocol" = "udp" ]]; then
Expand Down

0 comments on commit 025148c

Please sign in to comment.