From ea259e2c9f3f06ae37a8ecf70714e7e2607c0d32 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 21 May 2017 10:48:46 +0000 Subject: Adapt example service db to s6-uevent-listener API change --- examples/source/devd-log/consumer-for | 1 - examples/source/devd-log/dependencies | 1 - examples/source/devd-log/run | 4 ---- examples/source/devd-log/type | 1 - examples/source/devd/dependencies | 2 -- examples/source/devd/pipeline-name | 1 - examples/source/devd/producer-for | 1 - examples/source/devd/run | 5 ----- examples/source/devd/type | 1 - examples/source/init-coldplug/dependencies | 2 +- examples/source/mdevd-listener/dependencies | 1 + examples/source/mdevd-listener/pipeline-name | 1 + examples/source/mdevd-listener/producer-for | 1 + examples/source/mdevd-listener/run | 4 ++++ examples/source/mdevd-listener/type | 1 + examples/source/mdevd/consumer-for | 1 + examples/source/mdevd/dependencies | 1 + examples/source/mdevd/run | 5 +++++ examples/source/mdevd/type | 1 + examples/source/ok-local/contents | 2 +- 20 files changed, 18 insertions(+), 19 deletions(-) delete mode 100644 examples/source/devd-log/consumer-for delete mode 100644 examples/source/devd-log/dependencies delete mode 100755 examples/source/devd-log/run delete mode 100644 examples/source/devd-log/type delete mode 100644 examples/source/devd/dependencies delete mode 100644 examples/source/devd/pipeline-name delete mode 100644 examples/source/devd/producer-for delete mode 100755 examples/source/devd/run delete mode 100644 examples/source/devd/type create mode 100644 examples/source/mdevd-listener/dependencies create mode 100644 examples/source/mdevd-listener/pipeline-name create mode 100644 examples/source/mdevd-listener/producer-for create mode 100755 examples/source/mdevd-listener/run create mode 100644 examples/source/mdevd-listener/type create mode 100644 examples/source/mdevd/consumer-for create mode 100644 examples/source/mdevd/dependencies create mode 100755 examples/source/mdevd/run create mode 100644 examples/source/mdevd/type (limited to 'examples/source') diff --git a/examples/source/devd-log/consumer-for b/examples/source/devd-log/consumer-for deleted file mode 100644 index 0b3e805..0000000 --- a/examples/source/devd-log/consumer-for +++ /dev/null @@ -1 +0,0 @@ -devd diff --git a/examples/source/devd-log/dependencies b/examples/source/devd-log/dependencies deleted file mode 100644 index e1436e2..0000000 --- a/examples/source/devd-log/dependencies +++ /dev/null @@ -1 +0,0 @@ -mount-sync diff --git a/examples/source/devd-log/run b/examples/source/devd-log/run deleted file mode 100755 index 2a5918f..0000000 --- a/examples/source/devd-log/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/command/execlineb -P -s6-setuidgid syslog -exec -c -s6-log t s1000000 n20 /var/log/devd diff --git a/examples/source/devd-log/type b/examples/source/devd-log/type deleted file mode 100644 index 5883cff..0000000 --- a/examples/source/devd-log/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/examples/source/devd/dependencies b/examples/source/devd/dependencies deleted file mode 100644 index f0f7224..0000000 --- a/examples/source/devd/dependencies +++ /dev/null @@ -1,2 +0,0 @@ -init-devtmpfs -mount-sys diff --git a/examples/source/devd/pipeline-name b/examples/source/devd/pipeline-name deleted file mode 100644 index a40db1b..0000000 --- a/examples/source/devd/pipeline-name +++ /dev/null @@ -1 +0,0 @@ -devd-pipeline diff --git a/examples/source/devd/producer-for b/examples/source/devd/producer-for deleted file mode 100644 index 09c60aa..0000000 --- a/examples/source/devd/producer-for +++ /dev/null @@ -1 +0,0 @@ -devd-log diff --git a/examples/source/devd/run b/examples/source/devd/run deleted file mode 100755 index ad97de9..0000000 --- a/examples/source/devd/run +++ /dev/null @@ -1,5 +0,0 @@ -#!/command/execlineb -P -fdmove -c 2 1 -exec -c -s6-devd -mdev diff --git a/examples/source/devd/type b/examples/source/devd/type deleted file mode 100644 index 5883cff..0000000 --- a/examples/source/devd/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/examples/source/init-coldplug/dependencies b/examples/source/init-coldplug/dependencies index 9189f7f..c79dcde 100644 --- a/examples/source/init-coldplug/dependencies +++ b/examples/source/init-coldplug/dependencies @@ -1,3 +1,3 @@ init-devtmpfs mount-sys -devd +mdevd-pipeline diff --git a/examples/source/mdevd-listener/dependencies b/examples/source/mdevd-listener/dependencies new file mode 100644 index 0000000..f23f767 --- /dev/null +++ b/examples/source/mdevd-listener/dependencies @@ -0,0 +1 @@ +init-devtmpfs diff --git a/examples/source/mdevd-listener/pipeline-name b/examples/source/mdevd-listener/pipeline-name new file mode 100644 index 0000000..0d284a9 --- /dev/null +++ b/examples/source/mdevd-listener/pipeline-name @@ -0,0 +1 @@ +mdevd-pipeline diff --git a/examples/source/mdevd-listener/producer-for b/examples/source/mdevd-listener/producer-for new file mode 100644 index 0000000..3252ded --- /dev/null +++ b/examples/source/mdevd-listener/producer-for @@ -0,0 +1 @@ +mdevd diff --git a/examples/source/mdevd-listener/run b/examples/source/mdevd-listener/run new file mode 100755 index 0000000..db99ae9 --- /dev/null +++ b/examples/source/mdevd-listener/run @@ -0,0 +1,4 @@ +#!/command/execlineb -P +fdmove -c 2 1 +exec -c +s6-uevent-listener diff --git a/examples/source/mdevd-listener/type b/examples/source/mdevd-listener/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/examples/source/mdevd-listener/type @@ -0,0 +1 @@ +longrun diff --git a/examples/source/mdevd/consumer-for b/examples/source/mdevd/consumer-for new file mode 100644 index 0000000..c37e40d --- /dev/null +++ b/examples/source/mdevd/consumer-for @@ -0,0 +1 @@ +mdevd-listener diff --git a/examples/source/mdevd/dependencies b/examples/source/mdevd/dependencies new file mode 100644 index 0000000..f23f767 --- /dev/null +++ b/examples/source/mdevd/dependencies @@ -0,0 +1 @@ +init-devtmpfs diff --git a/examples/source/mdevd/run b/examples/source/mdevd/run new file mode 100755 index 0000000..a8542c0 --- /dev/null +++ b/examples/source/mdevd/run @@ -0,0 +1,5 @@ +#!/command/execlineb -P +fdmove -c 2 1 +exec -c +s6-uevent-spawner +/bin/mdev diff --git a/examples/source/mdevd/type b/examples/source/mdevd/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/examples/source/mdevd/type @@ -0,0 +1 @@ +longrun diff --git a/examples/source/ok-local/contents b/examples/source/ok-local/contents index 188d377..4e44ed6 100644 --- a/examples/source/ok-local/contents +++ b/examples/source/ok-local/contents @@ -1,4 +1,4 @@ -devd +mdevd-pipeline syslogd klogd fdholder -- cgit v1.2.3