aboutsummaryrefslogtreecommitdiffstats
path: root/examples/demo/1
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo/1')
-rw-r--r--examples/demo/1/N10-log/consumer-for1
-rw-r--r--examples/demo/1/N10-log/dependencies.d/essentials0
-rw-r--r--examples/demo/1/N10-log/notification-fd1
-rw-r--r--examples/demo/1/N10-log/pipeline-name1
-rw-r--r--examples/demo/1/N10-log/run3
-rw-r--r--examples/demo/1/N10-log/type1
-rw-r--r--examples/demo/1/N10/dependencies.d/essentials0
-rw-r--r--examples/demo/1/N10/finish5
-rw-r--r--examples/demo/1/N10/notification-fd1
-rw-r--r--examples/demo/1/N10/producer-for1
-rw-r--r--examples/demo/1/N10/run5
-rw-r--r--examples/demo/1/N10/type1
-rw-r--r--examples/demo/1/N11-log/consumer-for1
-rw-r--r--examples/demo/1/N11-log/dependencies.d/essentials0
-rw-r--r--examples/demo/1/N11-log/notification-fd1
-rw-r--r--examples/demo/1/N11-log/pipeline-name1
-rw-r--r--examples/demo/1/N11-log/run3
-rw-r--r--examples/demo/1/N11-log/type1
-rw-r--r--examples/demo/1/N11/dependencies.d/essentials0
-rw-r--r--examples/demo/1/N11/finish5
-rw-r--r--examples/demo/1/N11/notification-fd1
-rw-r--r--examples/demo/1/N11/producer-for1
-rw-r--r--examples/demo/1/N11/run5
-rw-r--r--examples/demo/1/N11/type1
24 files changed, 40 insertions, 0 deletions
diff --git a/examples/demo/1/N10-log/consumer-for b/examples/demo/1/N10-log/consumer-for
new file mode 100644
index 0000000..61d73c7
--- /dev/null
+++ b/examples/demo/1/N10-log/consumer-for
@@ -0,0 +1 @@
+N10
diff --git a/examples/demo/1/N10-log/dependencies.d/essentials b/examples/demo/1/N10-log/dependencies.d/essentials
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/demo/1/N10-log/dependencies.d/essentials
diff --git a/examples/demo/1/N10-log/notification-fd b/examples/demo/1/N10-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/demo/1/N10-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/demo/1/N10-log/pipeline-name b/examples/demo/1/N10-log/pipeline-name
new file mode 100644
index 0000000..adadc9f
--- /dev/null
+++ b/examples/demo/1/N10-log/pipeline-name
@@ -0,0 +1 @@
+N10-pipeline
diff --git a/examples/demo/1/N10-log/run b/examples/demo/1/N10-log/run
new file mode 100644
index 0000000..9eac6e7
--- /dev/null
+++ b/examples/demo/1/N10-log/run
@@ -0,0 +1,3 @@
+#!/usr/bin/execlineb -S0
+
+s6-log -d3 t /tmp/s6-rc-demo/N10
diff --git a/examples/demo/1/N10-log/type b/examples/demo/1/N10-log/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/demo/1/N10-log/type
@@ -0,0 +1 @@
+longrun
diff --git a/examples/demo/1/N10/dependencies.d/essentials b/examples/demo/1/N10/dependencies.d/essentials
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/demo/1/N10/dependencies.d/essentials
diff --git a/examples/demo/1/N10/finish b/examples/demo/1/N10/finish
new file mode 100644
index 0000000..3111e99
--- /dev/null
+++ b/examples/demo/1/N10/finish
@@ -0,0 +1,5 @@
+#!/usr/bin/execlineb -S4
+
+ifelse { eltest $1 -eq 256 }
+{ echo "N10 finishing: killed by signal $2" }
+echo "N10 finishing: exited $1"
diff --git a/examples/demo/1/N10/notification-fd b/examples/demo/1/N10/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/demo/1/N10/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/demo/1/N10/producer-for b/examples/demo/1/N10/producer-for
new file mode 100644
index 0000000..f69cdba
--- /dev/null
+++ b/examples/demo/1/N10/producer-for
@@ -0,0 +1 @@
+N10-log
diff --git a/examples/demo/1/N10/run b/examples/demo/1/N10/run
new file mode 100644
index 0000000..e0e72ac
--- /dev/null
+++ b/examples/demo/1/N10/run
@@ -0,0 +1,5 @@
+#!/usr/bin/execlineb -S0
+
+if { echo N10 starting }
+if { fdmove 1 3 echo }
+exec sleep 1000000
diff --git a/examples/demo/1/N10/type b/examples/demo/1/N10/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/demo/1/N10/type
@@ -0,0 +1 @@
+longrun
diff --git a/examples/demo/1/N11-log/consumer-for b/examples/demo/1/N11-log/consumer-for
new file mode 100644
index 0000000..3c942ca
--- /dev/null
+++ b/examples/demo/1/N11-log/consumer-for
@@ -0,0 +1 @@
+N11
diff --git a/examples/demo/1/N11-log/dependencies.d/essentials b/examples/demo/1/N11-log/dependencies.d/essentials
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/demo/1/N11-log/dependencies.d/essentials
diff --git a/examples/demo/1/N11-log/notification-fd b/examples/demo/1/N11-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/demo/1/N11-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/demo/1/N11-log/pipeline-name b/examples/demo/1/N11-log/pipeline-name
new file mode 100644
index 0000000..b41caba
--- /dev/null
+++ b/examples/demo/1/N11-log/pipeline-name
@@ -0,0 +1 @@
+N11-pipeline
diff --git a/examples/demo/1/N11-log/run b/examples/demo/1/N11-log/run
new file mode 100644
index 0000000..2a26b7d
--- /dev/null
+++ b/examples/demo/1/N11-log/run
@@ -0,0 +1,3 @@
+#!/usr/bin/execlineb -S0
+
+s6-log -d3 t /tmp/s6-rc-demo/N11
diff --git a/examples/demo/1/N11-log/type b/examples/demo/1/N11-log/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/demo/1/N11-log/type
@@ -0,0 +1 @@
+longrun
diff --git a/examples/demo/1/N11/dependencies.d/essentials b/examples/demo/1/N11/dependencies.d/essentials
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/demo/1/N11/dependencies.d/essentials
diff --git a/examples/demo/1/N11/finish b/examples/demo/1/N11/finish
new file mode 100644
index 0000000..0ce630b
--- /dev/null
+++ b/examples/demo/1/N11/finish
@@ -0,0 +1,5 @@
+#!/usr/bin/execlineb -S4
+
+ifelse { eltest $1 -eq 256 }
+{ echo "N11 finishing: killed by signal $2" }
+echo "N11 finishing: exited $1"
diff --git a/examples/demo/1/N11/notification-fd b/examples/demo/1/N11/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/demo/1/N11/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/demo/1/N11/producer-for b/examples/demo/1/N11/producer-for
new file mode 100644
index 0000000..34b9079
--- /dev/null
+++ b/examples/demo/1/N11/producer-for
@@ -0,0 +1 @@
+N11-log
diff --git a/examples/demo/1/N11/run b/examples/demo/1/N11/run
new file mode 100644
index 0000000..828f60c
--- /dev/null
+++ b/examples/demo/1/N11/run
@@ -0,0 +1,5 @@
+#!/usr/bin/execlineb -S0
+
+if { echo N11 starting }
+if { fdmove 1 3 echo }
+exec sleep 1000000
diff --git a/examples/demo/1/N11/type b/examples/demo/1/N11/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/demo/1/N11/type
@@ -0,0 +1 @@
+longrun