From 254faff9678eb03cd212f6e4b08f8502bd28b492 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 12 Apr 2020 20:14:09 +0200 Subject: vpn: sstp: T2185: move generated files to volatile /run/accel-ppp directory --- src/systemd/accel-ppp@.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/systemd/accel-ppp@.service (limited to 'src/systemd/accel-ppp@.service') diff --git a/src/systemd/accel-ppp@.service b/src/systemd/accel-ppp@.service new file mode 100644 index 000000000..256112769 --- /dev/null +++ b/src/systemd/accel-ppp@.service @@ -0,0 +1,16 @@ +[Unit] +Description=Accel-PPP - High performance VPN server application for Linux +RequiresMountsFor=/run +ConditionPathExists=/run/accel-pppd/%i.conf +After=vyos-router.service + +[Service] +WorkingDirectory=/run/accel-pppd +ExecStart=/usr/sbin/accel-pppd -d -p /run/accel-pppd/%i.pid -c /run/accel-pppd/%i.conf +ExecReload=/bin/kill -SIGUSR1 $MAINPID +PIDFile=/run/accel-pppd/%i.pid +Type=forking +Restart=always + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3