From 99445ba3da94a88f49b976ba8996aa33cbc10bb5 Mon Sep 17 00:00:00 2001 From: Alberto Gonzalez Iniesta Date: Tue, 7 Jul 2015 11:50:35 +0200 Subject: Move ProtectSystem to the right .service file --- debian/openvpn.service | 1 - debian/openvpn@.service | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/openvpn.service b/debian/openvpn.service index 58669f4..0075cc4 100644 --- a/debian/openvpn.service +++ b/debian/openvpn.service @@ -11,7 +11,6 @@ RemainAfterExit=yes ExecStart=/bin/true ExecReload=/bin/true WorkingDirectory=/etc/openvpn -ProtectSystem=yes [Install] WantedBy=multi-user.target diff --git a/debian/openvpn@.service b/debian/openvpn@.service index be47429..a136de9 100644 --- a/debian/openvpn@.service +++ b/debian/openvpn@.service @@ -8,6 +8,7 @@ Type=forking ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf ExecReload=/bin/kill -HUP $MAINPID WorkingDirectory=/etc/openvpn +ProtectSystem=yes [Install] WantedBy=multi-user.target -- cgit v1.2.3