diff options
Diffstat (limited to 'src/etc/systemd')
-rw-r--r-- | src/etc/systemd/system/accel-ppp-l2tp.service | 14 | ||||
-rw-r--r-- | src/etc/systemd/system/accel-ppp-sstp.service | 14 | ||||
-rw-r--r-- | src/etc/systemd/system/openvpn@.service.d/override.conf | 2 | ||||
-rw-r--r-- | src/etc/systemd/system/ppp@.service | 11 |
4 files changed, 1 insertions, 40 deletions
diff --git a/src/etc/systemd/system/accel-ppp-l2tp.service b/src/etc/systemd/system/accel-ppp-l2tp.service deleted file mode 100644 index 27f0cc8c0..000000000 --- a/src/etc/systemd/system/accel-ppp-l2tp.service +++ /dev/null @@ -1,14 +0,0 @@ -[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 diff --git a/src/etc/systemd/system/accel-ppp-sstp.service b/src/etc/systemd/system/accel-ppp-sstp.service deleted file mode 100644 index 03bd7f99c..000000000 --- a/src/etc/systemd/system/accel-ppp-sstp.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Accel-PPP/SSTP -After=vyos-router.service - -[Service] -ExecStart=/usr/sbin/accel-pppd -d -p /run/accel-pppd-sstp.pid -c /etc/accel-ppp/sstp.conf -ExecReload=/bin/kill -SIGUSR1 $MAINPID -PIDFile=/run/accel-pppd-sstp.pid -Type=forking -Restart=always - -[Install] -WantedBy=multi-user.target -Alias=accel-ppp-sstp.service diff --git a/src/etc/systemd/system/openvpn@.service.d/override.conf b/src/etc/systemd/system/openvpn@.service.d/override.conf index 8f1710e79..7946484a3 100644 --- a/src/etc/systemd/system/openvpn@.service.d/override.conf +++ b/src/etc/systemd/system/openvpn@.service.d/override.conf @@ -6,4 +6,4 @@ After=vyos-router.service WorkingDirectory= WorkingDirectory=/run/openvpn ExecStart= -ExecStart=/usr/sbin/openvpn --daemon openvpn-%i --config %i.conf +ExecStart=/usr/sbin/openvpn --daemon openvpn-%i --config %i.conf --status %i.status 30 --writepid %i.pid diff --git a/src/etc/systemd/system/ppp@.service b/src/etc/systemd/system/ppp@.service deleted file mode 100644 index d271efb41..000000000 --- a/src/etc/systemd/system/ppp@.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Dialing PPP connection %I -After=network.target - -[Service] -ExecStart=/usr/sbin/pppd call %I nodetach nolog -Restart=on-failure -RestartSec=5s - -[Install] -WantedBy=multi-user.target |