about summary refs log tree commit diff
path: root/examples/s6
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 /examples/s6
parentd81c427deda8a332b39a7c4abfc372cf3b1336cf (diff)
downloadutmps-5c520499d4953a45cb6dd5e285ba6143f82e7f97.tar.gz
utmps-5c520499d4953a45cb6dd5e285ba6143f82e7f97.tar.xz
utmps-5c520499d4953a45cb6dd5e285ba6143f82e7f97.zip
Update examples for s6-2.8.0.0
Diffstat (limited to 'examples/s6')
-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
4 files changed, 4 insertions, 2 deletions
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