11 lines
223 B
SYSTEMD
11 lines
223 B
SYSTEMD
|
[Unit]
|
||
|
Description=OpenVPN connection to %i
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
ExecStart=/usr/sbin/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --cd /etc/openvpn
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|