summaryrefslogtreecommitdiff
path: root/examples/s6-rc/wtmpd-log
diff options
context:
space:
mode:
Diffstat (limited to 'examples/s6-rc/wtmpd-log')
-rw-r--r--examples/s6-rc/wtmpd-log/consumer-for1
-rw-r--r--examples/s6-rc/wtmpd-log/dependencies1
-rw-r--r--examples/s6-rc/wtmpd-log/run5
-rw-r--r--examples/s6-rc/wtmpd-log/type1
4 files changed, 8 insertions, 0 deletions
diff --git a/examples/s6-rc/wtmpd-log/consumer-for b/examples/s6-rc/wtmpd-log/consumer-for
new file mode 100644
index 0000000..18e5a30
--- /dev/null
+++ b/examples/s6-rc/wtmpd-log/consumer-for
@@ -0,0 +1 @@
+wtmpd
diff --git a/examples/s6-rc/wtmpd-log/dependencies b/examples/s6-rc/wtmpd-log/dependencies
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/examples/s6-rc/wtmpd-log/dependencies
@@ -0,0 +1 @@
+
diff --git a/examples/s6-rc/wtmpd-log/run b/examples/s6-rc/wtmpd-log/run
new file mode 100644
index 0000000..715f41a
--- /dev/null
+++ b/examples/s6-rc/wtmpd-log/run
@@ -0,0 +1,5 @@
+#!/bin/execlineb -P
+
+s6-setuidgid utmplog
+exec -c
+s6-log t /var/log/wtmpd
diff --git a/examples/s6-rc/wtmpd-log/type b/examples/s6-rc/wtmpd-log/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/s6-rc/wtmpd-log/type
@@ -0,0 +1 @@
+longrun