diff options
Diffstat (limited to 'meta-networking/recipes-support/openvpn/openvpn/openvpn@.service')
-rw-r--r-- | meta-networking/recipes-support/openvpn/openvpn/openvpn@.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/openvpn/openvpn/openvpn@.service b/meta-networking/recipes-support/openvpn/openvpn/openvpn@.service new file mode 100644 index 0000000000..358dcb791a --- /dev/null +++ b/meta-networking/recipes-support/openvpn/openvpn/openvpn@.service | |||
@@ -0,0 +1,12 @@ | |||
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 | ||