diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-01-15 11:05:07 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-01-15 11:05:07 +0000 |
commit | 696245ec359b1083886b558ef41f9fcae437a088 (patch) | |
tree | 7aace2ac6f5ca9a634751cb7ceafd14d6bec2d91 | |
parent | 3acfabcd1ae55e864601a6ce321bc3830cd57ddd (diff) | |
download | mdevd-696245ec359b1083886b558ef41f9fcae437a088.tar.xz |
Update examples
-rw-r--r-- | doc/mdevd.html | 8 | ||||
-rw-r--r-- | examples/s6-rc/mdevd-netlink/dependencies | 1 | ||||
-rw-r--r-- | examples/s6-rc/mdevd-netlink/pipeline-name | 1 | ||||
-rw-r--r-- | examples/s6-rc/mdevd-netlink/producer-for | 1 | ||||
-rw-r--r-- | examples/s6-rc/mdevd-netlink/run | 3 | ||||
-rw-r--r-- | examples/s6-rc/mdevd-netlink/type | 1 | ||||
-rw-r--r-- | examples/s6-rc/mdevd/consumer-for | 1 | ||||
-rw-r--r-- | examples/s6-rc/mdevd/notification-fd (renamed from examples/s6-rc/mdevd-netlink/notification-fd) | 0 | ||||
-rw-r--r-- | examples/s6-rc/mdevd/run | 2 | ||||
-rwxr-xr-x | examples/s6/mdevd/log/run | 2 | ||||
-rwxr-xr-x | examples/s6/mdevd/run | 2 |
11 files changed, 9 insertions, 13 deletions
diff --git a/doc/mdevd.html b/doc/mdevd.html index f5ae5ee..55d1456 100644 --- a/doc/mdevd.html +++ b/doc/mdevd.html @@ -128,7 +128,13 @@ nothing else. <ul> <li> The <tt>examples/</tt> subdirectory of the mdevd package contains -examples on how to run mdevd under various init systems / supervisors. </li> +examples on how to run mdevd under various init systems / supervisors. These +examples do not show how to run mdevd as a logged service, because mdevd +should normally be run early in the system's boot up sequence, before +mounting the disks - so the presence of a mounted partition suitable for +logging is not guaranteed. In normal use, mdevd is quite terse, so it +runs smoothly without a dedicated logger, with its error messages +going to the catch-all logger. </li> </ul> </body> diff --git a/examples/s6-rc/mdevd-netlink/dependencies b/examples/s6-rc/mdevd-netlink/dependencies deleted file mode 100644 index 8b13789..0000000 --- a/examples/s6-rc/mdevd-netlink/dependencies +++ /dev/null @@ -1 +0,0 @@ - diff --git a/examples/s6-rc/mdevd-netlink/pipeline-name b/examples/s6-rc/mdevd-netlink/pipeline-name deleted file mode 100644 index 0d284a9..0000000 --- a/examples/s6-rc/mdevd-netlink/pipeline-name +++ /dev/null @@ -1 +0,0 @@ -mdevd-pipeline diff --git a/examples/s6-rc/mdevd-netlink/producer-for b/examples/s6-rc/mdevd-netlink/producer-for deleted file mode 100644 index 3252ded..0000000 --- a/examples/s6-rc/mdevd-netlink/producer-for +++ /dev/null @@ -1 +0,0 @@ -mdevd diff --git a/examples/s6-rc/mdevd-netlink/run b/examples/s6-rc/mdevd-netlink/run deleted file mode 100644 index c2a7b18..0000000 --- a/examples/s6-rc/mdevd-netlink/run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/execlineb -P -exec -c -mdevd-netlink -d 3 diff --git a/examples/s6-rc/mdevd-netlink/type b/examples/s6-rc/mdevd-netlink/type deleted file mode 100644 index 5883cff..0000000 --- a/examples/s6-rc/mdevd-netlink/type +++ /dev/null @@ -1 +0,0 @@ -longrun diff --git a/examples/s6-rc/mdevd/consumer-for b/examples/s6-rc/mdevd/consumer-for deleted file mode 100644 index ca025df..0000000 --- a/examples/s6-rc/mdevd/consumer-for +++ /dev/null @@ -1 +0,0 @@ -mdevd-netlink diff --git a/examples/s6-rc/mdevd-netlink/notification-fd b/examples/s6-rc/mdevd/notification-fd index 00750ed..00750ed 100644 --- a/examples/s6-rc/mdevd-netlink/notification-fd +++ b/examples/s6-rc/mdevd/notification-fd diff --git a/examples/s6-rc/mdevd/run b/examples/s6-rc/mdevd/run index 3252ded..aa8db86 100644 --- a/examples/s6-rc/mdevd/run +++ b/examples/s6-rc/mdevd/run @@ -1 +1 @@ -mdevd +mdevd -D 3 diff --git a/examples/s6/mdevd/log/run b/examples/s6/mdevd/log/run deleted file mode 100755 index f3d5913..0000000 --- a/examples/s6/mdevd/log/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/execlineb -P -mdevd diff --git a/examples/s6/mdevd/run b/examples/s6/mdevd/run index c2a7b18..3b16054 100755 --- a/examples/s6/mdevd/run +++ b/examples/s6/mdevd/run @@ -1,3 +1,3 @@ #!/bin/execlineb -P exec -c -mdevd-netlink -d 3 +mdevd -D 3 |