summaryrefslogtreecommitdiff
path: root/src/systemd/accel-ppp-l2tp.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-l2tp.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-l2tp.service')
-rw-r--r--src/systemd/accel-ppp-l2tp.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/systemd/accel-ppp-l2tp.service b/src/systemd/accel-ppp-l2tp.service
new file mode 100644
index 000000000..27f0cc8c0
--- /dev/null
+++ b/src/systemd/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