aboutsummaryrefslogtreecommitdiff
path: root/pppd/pppd-srv
diff options
context:
space:
mode:
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