forked from pool/openvpn
15 lines
337 B
SYSTEMD
15 lines
337 B
SYSTEMD
|
[Unit]
|
||
|
Description=OpenVPN Robust And Highly Flexible Tunneling Application On %I
|
||
|
After=syslog.target network.target
|
||
|
|
||
|
[Service]
|
||
|
PrivateTmp=true
|
||
|
Type=forking
|
||
|
PIDFile=/var/run/openvpn/%i.pid
|
||
|
ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|
||
|
|