From fb40f020bcd2bdb0e2fbbbd13d4557e7e4da030d Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 11 Apr 2020 01:05:35 +0200 Subject: vpn: l2tp: T2264: migrate from SysVinit -> systemd --- src/etc/systemd/system/accel-ppp-l2tp.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/etc/systemd/system/accel-ppp-l2tp.service (limited to 'src/etc/systemd/system/accel-ppp-l2tp.service') 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 -- cgit v1.2.3