summaryrefslogtreecommitdiff
path: root/examples/s6-rc/wtmpd
diff options
context:
space:
mode:
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