diff options
author | Alberto Gonzalez Iniesta <agi@inittab.org> | 2015-07-07 11:50:35 +0200 |
---|---|---|
committer | Alberto Gonzalez Iniesta <agi@inittab.org> | 2015-07-07 11:50:35 +0200 |
commit | 99445ba3da94a88f49b976ba8996aa33cbc10bb5 (patch) | |
tree | 17e9a8c258d33554a56de66e27bc35a9ff0d4fc6 /debian | |
parent | 7b4a3a0cf7a72498f4eaf6e4fc65fd34571f50f2 (diff) |
Move ProtectSystem to the right .service file
Diffstat (limited to 'debian')
-rw-r--r-- | debian/openvpn.service | 1 | ||||
-rw-r--r-- | debian/openvpn@.service | 1 |
2 files changed, 1 insertions, 1 deletions
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 |