summaryrefslogtreecommitdiff
path: root/src/systemd/ppp@.service
diff options
context:
space:
mode:
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