summaryrefslogtreecommitdiff
path: root/src/systemd/ppp@.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/ppp@.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/ppp@.service')
-rw-r--r--src/systemd/ppp@.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/systemd/ppp@.service b/src/systemd/ppp@.service
new file mode 100644
index 000000000..bb4622034
--- /dev/null
+++ b/src/systemd/ppp@.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Dialing PPP connection %I
+After=vyos-router.service
+
+[Service]
+ExecStart=/usr/sbin/pppd call %I nodetach nolog
+Restart=on-failure
+RestartSec=5s
+
+[Install]
+WantedBy=multi-user.target