summarylogtreecommitdiffstats
path: root/softethervpn-bridge.service
diff options
context:
space:
mode:
authorNicholas Wang2017-11-15 01:45:10 -0600
committerNicholas Wang2017-11-15 01:45:10 -0600
commit941ac32e15cc76d76276e4fc2f7795edb97e2d48 (patch)
tree60e8af1259fff199ba0b472df10d1e537a0fbfcc /softethervpn-bridge.service
downloadaur-941ac32e15cc76d76276e4fc2f7795edb97e2d48.tar.gz
init commit
Diffstat (limited to 'softethervpn-bridge.service')
-rw-r--r--softethervpn-bridge.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/softethervpn-bridge.service b/softethervpn-bridge.service
new file mode 100644
index 000000000000..eba1ca3dda31
--- /dev/null
+++ b/softethervpn-bridge.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=SoftEther VPN Bridge
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/vpnbridge start
+ExecStop=/usr/bin/vpnbridge stop
+Restart=on-failure
+
+# Hardening
+PrivateTmp=yes
+ProtectHome=yes
+ProtectSystem=full
+ReadOnlyDirectories=/
+ReadWriteDirectories=-/usr/lib/softethervpn/vpnbridge
+
+[Install]
+WantedBy=multi-user.target