Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | [Unit] |
2 | Description=OpenVPN Robust And Highly Flexible Tunneling Application On %I | ||||
3 | After=syslog.target network.target | ||||
4 | |||||
5 | [Service] | ||||
6 | PrivateTmp=true | ||||
7 | Type=forking | ||||
8 | PIDFile=/var/run/openvpn/%i.pid | ||||
9 | ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf | ||||
10 | |||||
11 | [Install] | ||||
12 | WantedBy=multi-user.target |