diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-11 11:24:46 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-11 11:26:33 +0200 |
commit | 13510cac5a4aadc3f6ca79c8c7fd7276abe95be3 (patch) | |
tree | d391c823185bf8d93032c9b0a86ad7000e24e832 /src/etc/systemd/system/accel-ppp-sstp.service | |
parent | 7f648cb2348ebe790757a98ef1d51275d0377650 (diff) | |
download | vyos-1x-13510cac5a4aadc3f6ca79c8c7fd7276abe95be3.tar.gz vyos-1x-13510cac5a4aadc3f6ca79c8c7fd7276abe95be3.zip |
vpn: sstp: T2008: migrate from SysVinit -> systemd
Diffstat (limited to 'src/etc/systemd/system/accel-ppp-sstp.service')
-rw-r--r-- | src/etc/systemd/system/accel-ppp-sstp.service | 14 |
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 |