SHA256
1
0
forked from pool/openvpn
openvpn/openvpn.service

15 lines
451 B
SYSTEMD
Raw Normal View History

[Unit]
Description=OpenVPN Robust And Highly Flexible Tunneling Application Instance using %I.conf
After=syslog.target network.target
[Service]
Type=forking
PrivateTmp=true
PIDFile=/var/run/openvpn/%i.pid
ExecStart=/usr/sbin/openvpn --daemon --suppress-timestamps --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf
ExecReload=/sbin/killproc -p /var/run/openvpn/%i.pid -HUP /usr/sbin/openvpn
[Install]
WantedBy=multi-user.target