diff options
author | Jonathan Liu | 2016-06-06 21:28:36 +1000 |
---|---|---|
committer | Jonathan Liu | 2016-06-06 21:29:02 +1000 |
commit | b285baba68e2d38ee554ae5c20afc9f0a49bf499 (patch) | |
tree | 9407f11f151632ab4cd7ac36bc9fa59e2812fd89 /softethervpn-server.service | |
parent | 1d3838e1f3e8f1a5eeec53080d1bdf7c2a007acd (diff) | |
download | aur-b285baba68e2d38ee554ae5c20afc9f0a49bf499.tar.gz |
Update to v4.20_9608-2
Diffstat (limited to 'softethervpn-server.service')
-rw-r--r-- | softethervpn-server.service | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/softethervpn-server.service b/softethervpn-server.service index 50984e282184..87706aad7792 100644 --- a/softethervpn-server.service +++ b/softethervpn-server.service @@ -1,11 +1,19 @@ [Unit] -Description=SoftEther VPN Server daemon +Description=SoftEther VPN Server After=network.target [Service] Type=forking ExecStart=/usr/bin/vpnserver start -ExecReload=/usr/bin/vpnserver stop +ExecStop=/usr/bin/vpnserver stop +Restart=on-failure + +# Hardening +PrivateTmp=yes +ProtectHome=yes +ProtectSystem=full +ReadOnlyDirectories=/ +ReadWriteDirectories=-/usr/lib/softethervpn/vpnserver [Install] WantedBy=multi-user.target |