Move ProtectSystem to the right .service file

parent 7b4a3a0c
......@@ -11,7 +11,6 @@ RemainAfterExit=yes
ExecStart=/bin/true
ExecReload=/bin/true
WorkingDirectory=/etc/openvpn
ProtectSystem=yes
[Install]
WantedBy=multi-user.target
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment