14 lines
379 B
Desktop File
14 lines
379 B
Desktop File
[Unit]
|
|
Description=OpenVPN tunneling application on %i
|
|
After=network.target NetworkManager-wait-online.service
|
|
Requires=network.target NetworkManager-wait-online.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
PrivateTmp=true
|
|
ExecStart=/usr/sbin/openvpn --daemon --writepid /run/openvpn/%i.pid --cd /etc/openvpn --config %i.conf
|
|
PIDFile=/run/openvpn/%i.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|