summaryrefslogtreecommitdiff
path: root/src/systemd/accel-ppp-sstp.service
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-12 10:58:29 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-12 10:59:34 +0200
commitda079eeaeae392ed580db5704414d10f952b9f39 (patch)
treed2a3a96b660e12c7fbbab9f3e38590c826920456 /src/systemd/accel-ppp-sstp.service
parent28af70c22ea0ed05d67af440d7284db663b82cc4 (diff)
downloadvyos-1x-da079eeaeae392ed580db5704414d10f952b9f39.tar.gz
vyos-1x-da079eeaeae392ed580db5704414d10f952b9f39.zip
T2185: move systemd unit files to proper location
Diffstat (limited to 'src/systemd/accel-ppp-sstp.service')
-rw-r--r--src/systemd/accel-ppp-sstp.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/systemd/accel-ppp-sstp.service b/src/systemd/accel-ppp-sstp.service
new file mode 100644
index 000000000..03bd7f99c
--- /dev/null
+++ b/src/systemd/accel-ppp-sstp.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Accel-PPP/SSTP
+After=vyos-router.service
+
+[Service]
+ExecStart=/usr/sbin/accel-pppd -d -p /run/accel-pppd-sstp.pid -c /etc/accel-ppp/sstp.conf
+ExecReload=/bin/kill -SIGUSR1 $MAINPID
+PIDFile=/run/accel-pppd-sstp.pid
+Type=forking
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
+Alias=accel-ppp-sstp.service