aboutsummaryrefslogtreecommitdiff
path: root/pppd/pppd-srv/run
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2023-03-01 19:59:10 +0530
committersinanmohd <pcmsinan@gmail.com>2023-03-01 19:59:10 +0530
commitd0e06c7eea2b301845c38b481f0076097e069606 (patch)
treec112a9461495afa929d13027858d0fa20b641f30 /pppd/pppd-srv/run
parent9bb6b9f7d5246c7a896c909c40370dc75644d4cf (diff)
pppd: add s6 serviceHEADmaster
Diffstat (limited to 'pppd/pppd-srv/run')
-rw-r--r--pppd/pppd-srv/run5
1 files changed, 5 insertions, 0 deletions
diff --git a/pppd/pppd-srv/run b/pppd/pppd-srv/run
new file mode 100644
index 0000000..0a74e04
--- /dev/null
+++ b/pppd/pppd-srv/run
@@ -0,0 +1,5 @@
+#!/bin/execlineb -P
+envfile /etc/s6/config/pppd.conf
+importas -sCuD "" OPTS OPTS
+fdmove -c 2 1
+exec pppd nodetach ${OPTS}