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