[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