diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2013-01-25 08:52:34 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2013-01-25 08:52:34 +0000 |
commit | 362fa92d958ed4aee53b75cfb4df810178fdd871 (patch) | |
tree | 11200aa4db6e966d7d635d653ac4c2231623106e /net-misc/openvpn/files | |
parent | Bump (diff) | |
download | historical-362fa92d958ed4aee53b75cfb4df810178fdd871.tar.gz historical-362fa92d958ed4aee53b75cfb4df810178fdd871.tar.bz2 historical-362fa92d958ed4aee53b75cfb4df810178fdd871.zip |
Add unit and tmp file for systemd compatibility. Fixes bug 448884
Package-Manager: portage-2.2.0_alpha150/cvs/Linux x86_64
Manifest-Sign-Key: 0x5D21B852895192F9
Diffstat (limited to 'net-misc/openvpn/files')
-rw-r--r-- | net-misc/openvpn/files/openvpn.service | 12 | ||||
-rw-r--r-- | net-misc/openvpn/files/openvpn.tmpfile | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/net-misc/openvpn/files/openvpn.service b/net-misc/openvpn/files/openvpn.service new file mode 100644 index 000000000000..358dcb791a3c --- /dev/null +++ b/net-misc/openvpn/files/openvpn.service @@ -0,0 +1,12 @@ +[Unit] +Description=OpenVPN Robust And Highly Flexible Tunneling Application On %I +After=syslog.target network.target + +[Service] +PrivateTmp=true +Type=forking +PIDFile=/var/run/openvpn/%i.pid +ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf + +[Install] +WantedBy=multi-user.target diff --git a/net-misc/openvpn/files/openvpn.tmpfile b/net-misc/openvpn/files/openvpn.tmpfile new file mode 100644 index 000000000000..d5fca71a00a0 --- /dev/null +++ b/net-misc/openvpn/files/openvpn.tmpfile @@ -0,0 +1 @@ +D /var/run/openvpn 0710 root openvpn - |