2024-01-06 08:17:56 +01:00
|
|
|
[Unit]
|
2024-01-06 08:18:01 +01:00
|
|
|
Description=OpenVPN tunnel for %I (obsolete: use openvpn-client@ or openvpn-server@)
|
|
|
|
After=syslog.target network-online.target
|
|
|
|
Wants=network-online.target
|
|
|
|
Documentation=man:openvpn(8)
|
|
|
|
Documentation=https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
|
|
|
|
Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO
|
2024-01-06 08:17:56 +01:00
|
|
|
|
|
|
|
[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
|