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/mdevd/consumer-for | 1 + examples/source/mdevd/dependencies | 1 + examples/source/mdevd/run | 5 +++++ examples/source/mdevd/type | 1 + 4 files changed, 8 insertions(+) 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/mdevd') 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 -- cgit v1.2.3