summaryrefslogtreecommitdiff
path: root/src/etc/systemd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-11 11:24:46 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-11 11:26:33 +0200
commit13510cac5a4aadc3f6ca79c8c7fd7276abe95be3 (patch)
treed391c823185bf8d93032c9b0a86ad7000e24e832 /src/etc/systemd
parent7f648cb2348ebe790757a98ef1d51275d0377650 (diff)
downloadvyos-1x-13510cac5a4aadc3f6ca79c8c7fd7276abe95be3.tar.gz
vyos-1x-13510cac5a4aadc3f6ca79c8c7fd7276abe95be3.zip
vpn: sstp: T2008: migrate from SysVinit -> systemd
Diffstat (limited to 'src/etc/systemd')
-rw-r--r--src/etc/systemd/system/accel-ppp-sstp.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/etc/systemd/system/accel-ppp-sstp.service b/src/etc/systemd/system/accel-ppp-sstp.service
new file mode 100644
index 000000000..03bd7f99c
--- /dev/null
+++ b/src/etc/systemd/system/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