summaryrefslogtreecommitdiff
path: root/src/etc/systemd/system/accel-ppp-l2tp.service
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-11 01:05:35 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-11 11:26:33 +0200
commitfb40f020bcd2bdb0e2fbbbd13d4557e7e4da030d (patch)
tree7816d53f1f2a8bb4aaa7c11a019424a167f38add /src/etc/systemd/system/accel-ppp-l2tp.service
parentbecda904d1c4a8995488713420265c7c85a64cb9 (diff)
downloadvyos-1x-fb40f020bcd2bdb0e2fbbbd13d4557e7e4da030d.tar.gz
vyos-1x-fb40f020bcd2bdb0e2fbbbd13d4557e7e4da030d.zip
vpn: l2tp: T2264: migrate from SysVinit -> systemd
Diffstat (limited to 'src/etc/systemd/system/accel-ppp-l2tp.service')
-rw-r--r--src/etc/systemd/system/accel-ppp-l2tp.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/etc/systemd/system/accel-ppp-l2tp.service b/src/etc/systemd/system/accel-ppp-l2tp.service
new file mode 100644
index 000000000..27f0cc8c0
--- /dev/null
+++ b/src/etc/systemd/system/accel-ppp-l2tp.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Accel-PPP/L2TP
+After=vyos-router.service
+
+[Service]
+ExecStart=/usr/sbin/accel-pppd -d -p /run/accel-pppd-l2tp.pid -c /etc/accel-ppp/l2tp.conf
+ExecReload=/bin/kill -SIGUSR1 $MAINPID
+PIDFile=/run/accel-pppd-l2tp.pid
+Type=forking
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
+Alias=accel-ppp-l2tp.service