summaryrefslogtreecommitdiff
path: root/examples/source/mdevd/run
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-05-21 10:48:46 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-05-21 10:48:46 +0000
commitea259e2c9f3f06ae37a8ecf70714e7e2607c0d32 (patch)
tree151532cf16e5f17f4dfec613a75dc1beeda17e72 /examples/source/mdevd/run
parent27cdf38764d3ce9b1b366f6d86e5f4f6e45bdafd (diff)
downloads6-rc-ea259e2c9f3f06ae37a8ecf70714e7e2607c0d32.tar.xz
Adapt example service db to s6-uevent-listener API change
Diffstat (limited to 'examples/source/mdevd/run')
-rwxr-xr-xexamples/source/mdevd/run5
1 files changed, 5 insertions, 0 deletions
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