aboutsummaryrefslogtreecommitdiff
path: root/pppd/pppd-srv
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
parent9bb6b9f7d5246c7a896c909c40370dc75644d4cf (diff)
pppd: add s6 serviceHEADmaster
Diffstat (limited to 'pppd/pppd-srv')
-rw-r--r--pppd/pppd-srv/producer-for1
-rw-r--r--pppd/pppd-srv/run5
-rw-r--r--pppd/pppd-srv/type1
3 files changed, 7 insertions, 0 deletions
diff --git a/pppd/pppd-srv/producer-for b/pppd/pppd-srv/producer-for
new file mode 100644
index 0000000..026af7b
--- /dev/null
+++ b/pppd/pppd-srv/producer-for
@@ -0,0 +1 @@
+pppd-log
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}
diff --git a/pppd/pppd-srv/type b/pppd/pppd-srv/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/pppd/pppd-srv/type
@@ -0,0 +1 @@
+longrun