diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-20 14:51:36 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-20 14:51:36 +0000 |
commit | 4ba5ae5776c2e9ba4f297115c19923a928cf3e87 (patch) | |
tree | 5a67f39a64dc5df84fc20307aa95d7536890b8b5 /examples/s6-rc/utmpd | |
download | utmps-4ba5ae5776c2e9ba4f297115c19923a928cf3e87.tar.xz |
Initial release / rename to utmps
Diffstat (limited to 'examples/s6-rc/utmpd')
-rw-r--r-- | examples/s6-rc/utmpd/dependencies | 1 | ||||
-rw-r--r-- | examples/s6-rc/utmpd/notification-fd | 1 | ||||
-rw-r--r-- | examples/s6-rc/utmpd/pipeline-name | 1 | ||||
-rw-r--r-- | examples/s6-rc/utmpd/producer-for | 1 | ||||
-rw-r--r-- | examples/s6-rc/utmpd/run | 8 | ||||
-rw-r--r-- | examples/s6-rc/utmpd/type | 1 |
6 files changed, 13 insertions, 0 deletions
diff --git a/examples/s6-rc/utmpd/dependencies b/examples/s6-rc/utmpd/dependencies new file mode 100644 index 0000000..6cfcf60 --- /dev/null +++ b/examples/s6-rc/utmpd/dependencies @@ -0,0 +1 @@ +utmps-prepare diff --git a/examples/s6-rc/utmpd/notification-fd b/examples/s6-rc/utmpd/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/examples/s6-rc/utmpd/notification-fd @@ -0,0 +1 @@ +3 diff --git a/examples/s6-rc/utmpd/pipeline-name b/examples/s6-rc/utmpd/pipeline-name new file mode 100644 index 0000000..d75e141 --- /dev/null +++ b/examples/s6-rc/utmpd/pipeline-name @@ -0,0 +1 @@ +utmpd-pipeline diff --git a/examples/s6-rc/utmpd/producer-for b/examples/s6-rc/utmpd/producer-for new file mode 100644 index 0000000..8ff8e12 --- /dev/null +++ b/examples/s6-rc/utmpd/producer-for @@ -0,0 +1 @@ +utmpd-log diff --git a/examples/s6-rc/utmpd/run b/examples/s6-rc/utmpd/run new file mode 100644 index 0000000..417ef5e --- /dev/null +++ b/examples/s6-rc/utmpd/run @@ -0,0 +1,8 @@ +#!/bin/execlineb -P + +fdmove -c 2 1 +s6-setuidgid utmp +cd /run/utmps +fdmove 1 3 +s6-ipcserver -1 -- /run/utmps/utmpd-socket +utmps-utmpd diff --git a/examples/s6-rc/utmpd/type b/examples/s6-rc/utmpd/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/examples/s6-rc/utmpd/type @@ -0,0 +1 @@ +longrun |