summarylogtreecommitdiffstats
path: root/sstp-server@.service
diff options
context:
space:
mode:
Diffstat (limited to 'sstp-server@.service')
-rw-r--r--sstp-server@.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/sstp-server@.service b/sstp-server@.service
new file mode 100644
index 000000000000..32310914e85a
--- /dev/null
+++ b/sstp-server@.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=A Secure Socket Tunneling Protocol (SSTP) server.
+After=network.target
+
+[Service]
+Restart=on-failure
+
+ExecStart=/usr/bin/sstpd -f /etc/sstp-server.ini -s %i
+
+PrivateTmp=true
+PrivateDevices=true
+ProtectHome=true
+ProtectSystem=full
+
+[Install]
+WantedBy=network.target