aboutsummaryrefslogtreecommitdiffstats
path: root/examples/source-router/httpd-4
diff options
context:
space:
mode:
Diffstat (limited to 'examples/source-router/httpd-4')
-rw-r--r--examples/source-router/httpd-4/dependencies.d/init-lan0
-rw-r--r--examples/source-router/httpd-4/dependencies.d/mount-rwfs0
-rw-r--r--examples/source-router/httpd-4/notification-fd1
-rw-r--r--examples/source-router/httpd-4/producer-for1
-rwxr-xr-xexamples/source-router/httpd-4/run10
-rw-r--r--examples/source-router/httpd-4/type1
6 files changed, 13 insertions, 0 deletions
diff --git a/examples/source-router/httpd-4/dependencies.d/init-lan b/examples/source-router/httpd-4/dependencies.d/init-lan
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/source-router/httpd-4/dependencies.d/init-lan
diff --git a/examples/source-router/httpd-4/dependencies.d/mount-rwfs b/examples/source-router/httpd-4/dependencies.d/mount-rwfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/source-router/httpd-4/dependencies.d/mount-rwfs
diff --git a/examples/source-router/httpd-4/notification-fd b/examples/source-router/httpd-4/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source-router/httpd-4/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source-router/httpd-4/producer-for b/examples/source-router/httpd-4/producer-for
new file mode 100644
index 0000000..7f6f6cd
--- /dev/null
+++ b/examples/source-router/httpd-4/producer-for
@@ -0,0 +1 @@
+httpd-log
diff --git a/examples/source-router/httpd-4/run b/examples/source-router/httpd-4/run
new file mode 100755
index 0000000..75e7635
--- /dev/null
+++ b/examples/source-router/httpd-4/run
@@ -0,0 +1,10 @@
+#!/command/execlineb -P
+fdmove -c 2 1
+s6-envdir /etc/env-network
+cd /home/public
+importas -uSi ETH0_IP4
+emptyenv -p
+s6-envuidgid public
+fdmove 1 3
+s6-tcpserver -v -U -c 512 -1 -- ${ETH0_IP4} 80
+tipideed
diff --git a/examples/source-router/httpd-4/type b/examples/source-router/httpd-4/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/source-router/httpd-4/type
@@ -0,0 +1 @@
+longrun