summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-01-15 16:08:34 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-01-15 16:08:34 +0000
commit5c520499d4953a45cb6dd5e285ba6143f82e7f97 (patch)
tree1d99f28d8db1d61605515f56735945a655928b9e
parentd81c427deda8a332b39a7c4abfc372cf3b1336cf (diff)
downloadutmps-5c520499d4953a45cb6dd5e285ba6143f82e7f97.tar.xz
Update examples for s6-2.8.0.0
-rw-r--r--doc/index.html2
-rw-r--r--examples/s6-rc/utmpd-log/notification-fd1
-rw-r--r--examples/s6-rc/utmpd-log/run2
-rw-r--r--examples/s6-rc/wtmpd-log/notification-fd1
-rw-r--r--examples/s6-rc/wtmpd-log/run2
-rw-r--r--examples/s6/utmpd/log/notification-fd1
-rwxr-xr-xexamples/s6/utmpd/log/run2
-rw-r--r--examples/s6/wtmpd/log/notification-fd1
-rwxr-xr-xexamples/s6/wtmpd/log/run2
9 files changed, 9 insertions, 5 deletions
diff --git a/doc/index.html b/doc/index.html
index 32bb64a..c1e5d42 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -60,7 +60,7 @@ running utmp functions are just clients to this daemon.
requirement if you link against the shared version of the skalibs
library. </li>
<li> <a href="//skarnet.org/software/s6/">s6</a> version
-2.7.2.3 or later. It's a <em>run-time</em> requirement only, to run
+2.8.0.0 or later. It's a <em>run-time</em> requirement only, to run
the utmpd and wtmpd services (and can be done without if you have a
suitable replacement for
<a href="//skarnet.org/software/s6/s6-ipcserver">s6-ipcserver</a>). </li>
diff --git a/examples/s6-rc/utmpd-log/notification-fd b/examples/s6-rc/utmpd-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/s6-rc/utmpd-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/s6-rc/utmpd-log/run b/examples/s6-rc/utmpd-log/run
index 586e53d..ec3b2f4 100644
--- a/examples/s6-rc/utmpd-log/run
+++ b/examples/s6-rc/utmpd-log/run
@@ -2,4 +2,4 @@
s6-setuidgid utmplog
exec -c
-s6-log t /var/log/utmpd
+s6-log -d3 -- t /var/log/utmpd
diff --git a/examples/s6-rc/wtmpd-log/notification-fd b/examples/s6-rc/wtmpd-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/s6-rc/wtmpd-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/s6-rc/wtmpd-log/run b/examples/s6-rc/wtmpd-log/run
index 715f41a..eeda433 100644
--- a/examples/s6-rc/wtmpd-log/run
+++ b/examples/s6-rc/wtmpd-log/run
@@ -2,4 +2,4 @@
s6-setuidgid utmplog
exec -c
-s6-log t /var/log/wtmpd
+s6-log -d3 -- t /var/log/wtmpd
diff --git a/examples/s6/utmpd/log/notification-fd b/examples/s6/utmpd/log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/s6/utmpd/log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/s6/utmpd/log/run b/examples/s6/utmpd/log/run
index 586e53d..ec3b2f4 100755
--- a/examples/s6/utmpd/log/run
+++ b/examples/s6/utmpd/log/run
@@ -2,4 +2,4 @@
s6-setuidgid utmplog
exec -c
-s6-log t /var/log/utmpd
+s6-log -d3 -- t /var/log/utmpd
diff --git a/examples/s6/wtmpd/log/notification-fd b/examples/s6/wtmpd/log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/s6/wtmpd/log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/s6/wtmpd/log/run b/examples/s6/wtmpd/log/run
index 5dd01cb..b23b32e 100755
--- a/examples/s6/wtmpd/log/run
+++ b/examples/s6/wtmpd/log/run
@@ -2,4 +2,4 @@
s6-setuidgid utmplog
exec -c
-s6-log t /var/log/utmps-wtmpd
+s6-log -d3 -- t /var/log/utmps-wtmpd