summaryrefslogtreecommitdiff
path: root/examples/s6-rc/wtmpd
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-19 10:08:03 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-19 10:08:03 +0000
commit793cf14db75f7802408130ef87598850f3186956 (patch)
treef1ae96ee789c11d279cace067f62f868ba57d306 /examples/s6-rc/wtmpd
parentb9781c6faa797fd68ea2807345c02fa12c3e0efb (diff)
downloadutmps-793cf14db75f7802408130ef87598850f3186956.tar.xz
Prepare for 0.1.0.2, update examples
Diffstat (limited to 'examples/s6-rc/wtmpd')
-rw-r--r--examples/s6-rc/wtmpd/dependencies5
-rw-r--r--examples/s6-rc/wtmpd/pipeline-name1
-rw-r--r--examples/s6-rc/wtmpd/producer-for1
-rw-r--r--examples/s6-rc/wtmpd/run2
4 files changed, 6 insertions, 3 deletions
diff --git a/examples/s6-rc/wtmpd/dependencies b/examples/s6-rc/wtmpd/dependencies
index 6cfcf60..194a7b1 100644
--- a/examples/s6-rc/wtmpd/dependencies
+++ b/examples/s6-rc/wtmpd/dependencies
@@ -1 +1,6 @@
+# mount-var-log is not defined in this example;
+# it's there to show that wtmpd should only run
+# once /var/log has been mounted.
+
utmps-prepare
+mount-var-log
diff --git a/examples/s6-rc/wtmpd/pipeline-name b/examples/s6-rc/wtmpd/pipeline-name
deleted file mode 100644
index 37edf1f..0000000
--- a/examples/s6-rc/wtmpd/pipeline-name
+++ /dev/null
@@ -1 +0,0 @@
-wtmpd-pipeline
diff --git a/examples/s6-rc/wtmpd/producer-for b/examples/s6-rc/wtmpd/producer-for
deleted file mode 100644
index 4206ab1..0000000
--- a/examples/s6-rc/wtmpd/producer-for
+++ /dev/null
@@ -1 +0,0 @@
-wtmpd-log
diff --git a/examples/s6-rc/wtmpd/run b/examples/s6-rc/wtmpd/run
index b9d9da3..cb26286 100644
--- a/examples/s6-rc/wtmpd/run
+++ b/examples/s6-rc/wtmpd/run
@@ -2,7 +2,7 @@
fdmove -c 2 1
s6-setuidgid utmp
-cd /run/utmps
+cd /var/log
fdmove 1 3
s6-ipcserver -1 -- /run/utmps/wtmpd-socket
utmps-wtmpd