mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-30 02:28:53 +00:00
15 lines
410 B
Desktop File
15 lines
410 B
Desktop File
[Unit]
|
|
Description=OpenVPN Application On Resin
|
|
Wants=prepare-openvpn.service
|
|
After=syslog.target network.target prepare-openvpn.service
|
|
|
|
[Service]
|
|
PrivateTmp=true
|
|
Type=forking
|
|
PIDFile=/var/run/openvpn/resin.pid
|
|
ExecStartPre=-/bin/mkdir -p /var/run/openvpn
|
|
ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/resin.pid --cd /etc/openvpn/ --config client.conf
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|