summarylogtreecommitdiffstats
path: root/softethervpn-client.service
diff options
context:
space:
mode:
authorJonathan Liu2016-06-06 21:28:36 +1000
committerJonathan Liu2016-06-06 21:29:02 +1000
commitb285baba68e2d38ee554ae5c20afc9f0a49bf499 (patch)
tree9407f11f151632ab4cd7ac36bc9fa59e2812fd89 /softethervpn-client.service
parent1d3838e1f3e8f1a5eeec53080d1bdf7c2a007acd (diff)
downloadaur-b285baba68e2d38ee554ae5c20afc9f0a49bf499.tar.gz
Update to v4.20_9608-2
Diffstat (limited to 'softethervpn-client.service')
-rw-r--r--softethervpn-client.service12
1 files changed, 10 insertions, 2 deletions
diff --git a/softethervpn-client.service b/softethervpn-client.service
index b6c674c199c0..a9ae684f86dd 100644
--- a/softethervpn-client.service
+++ b/softethervpn-client.service
@@ -1,11 +1,19 @@
[Unit]
-Description=SoftEther VPN Client daemon
+Description=SoftEther VPN Client
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/vpnclient start
-ExecReload=/usr/bin/vpnclient stop
+ExecStop=/usr/bin/vpnclient stop
+Restart=on-failure
+
+# Hardening
+PrivateTmp=yes
+ProtectHome=yes
+ProtectSystem=full
+ReadOnlyDirectories=/
+ReadWriteDirectories=-/usr/lib/softethervpn/vpnclient
[Install]
WantedBy=multi-user.target