summaryrefslogtreecommitdiff
path: root/examples/s6-rc/utmpd-log
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-11-20 14:51:36 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-11-20 14:51:36 +0000
commit4ba5ae5776c2e9ba4f297115c19923a928cf3e87 (patch)
tree5a67f39a64dc5df84fc20307aa95d7536890b8b5 /examples/s6-rc/utmpd-log
downloadutmps-4ba5ae5776c2e9ba4f297115c19923a928cf3e87.tar.xz
Initial release / rename to utmps
Diffstat (limited to 'examples/s6-rc/utmpd-log')
-rw-r--r--examples/s6-rc/utmpd-log/consumer-for1
-rw-r--r--examples/s6-rc/utmpd-log/dependencies1
-rw-r--r--examples/s6-rc/utmpd-log/run5
-rw-r--r--examples/s6-rc/utmpd-log/type1
4 files changed, 8 insertions, 0 deletions
diff --git a/examples/s6-rc/utmpd-log/consumer-for b/examples/s6-rc/utmpd-log/consumer-for
new file mode 100644
index 0000000..fe07d03
--- /dev/null
+++ b/examples/s6-rc/utmpd-log/consumer-for
@@ -0,0 +1 @@
+utmpd
diff --git a/examples/s6-rc/utmpd-log/dependencies b/examples/s6-rc/utmpd-log/dependencies
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/examples/s6-rc/utmpd-log/dependencies
@@ -0,0 +1 @@
+
diff --git a/examples/s6-rc/utmpd-log/run b/examples/s6-rc/utmpd-log/run
new file mode 100644
index 0000000..586e53d
--- /dev/null
+++ b/examples/s6-rc/utmpd-log/run
@@ -0,0 +1,5 @@
+#!/bin/execlineb -P
+
+s6-setuidgid utmplog
+exec -c
+s6-log t /var/log/utmpd
diff --git a/examples/s6-rc/utmpd-log/type b/examples/s6-rc/utmpd-log/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/s6-rc/utmpd-log/type
@@ -0,0 +1 @@
+longrun