diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-11 01:05:35 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-11 11:26:33 +0200 |
commit | fb40f020bcd2bdb0e2fbbbd13d4557e7e4da030d (patch) | |
tree | 7816d53f1f2a8bb4aaa7c11a019424a167f38add /src/etc | |
parent | becda904d1c4a8995488713420265c7c85a64cb9 (diff) | |
download | vyos-1x-fb40f020bcd2bdb0e2fbbbd13d4557e7e4da030d.tar.gz vyos-1x-fb40f020bcd2bdb0e2fbbbd13d4557e7e4da030d.zip |
vpn: l2tp: T2264: migrate from SysVinit -> systemd
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/systemd/system/accel-ppp-l2tp.service | 14 |
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 |