summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-01-15 15:29:23 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-01-15 15:29:23 +0000
commit11d552a5ef98ab91479c7753997b4d9c51803f96 (patch)
tree5404eb0bfe6186d9fead4fdda389251862e36503 /examples
parentfe36511943321c2be1d00fe41d3fe4b784c5acb4 (diff)
downloads6-rc-11d552a5ef98ab91479c7753997b4d9c51803f96.tar.xz
Add s6-log notifications to examples, prepare for 0.4.1.1
Diffstat (limited to 'examples')
-rw-r--r--examples/source/dns-cache-log/notification-fd1
-rwxr-xr-xexamples/source/dns-cache-log/run2
-rw-r--r--examples/source/dns-server-tcp-4-log/notification-fd1
-rwxr-xr-xexamples/source/dns-server-tcp-4-log/run2
-rw-r--r--examples/source/dns-server-udp-log/notification-fd1
-rwxr-xr-xexamples/source/dns-server-udp-log/run2
-rw-r--r--examples/source/fdholder-log/notification-fd1
-rwxr-xr-xexamples/source/fdholder-log/run2
-rw-r--r--examples/source/hostapd-log/notification-fd1
-rwxr-xr-xexamples/source/hostapd-log/run2
-rw-r--r--examples/source/httpd-4-log/notification-fd1
-rwxr-xr-xexamples/source/httpd-4-log/run2
-rw-r--r--examples/source/identd-4-log/notification-fd1
-rwxr-xr-xexamples/source/identd-4-log/run2
-rw-r--r--examples/source/klogd-log/notification-fd1
-rwxr-xr-xexamples/source/klogd-log/run2
-rw-r--r--examples/source/ntpclient-log/notification-fd1
-rwxr-xr-xexamples/source/ntpclient-log/run2
-rw-r--r--examples/source/qmail-log/notification-fd1
-rwxr-xr-xexamples/source/qmail-log/run2
-rw-r--r--examples/source/qmtpd-4-log/notification-fd1
-rwxr-xr-xexamples/source/qmtpd-4-log/run2
-rw-r--r--examples/source/smtpd-4-log/notification-fd1
-rwxr-xr-xexamples/source/smtpd-4-log/run2
-rw-r--r--examples/source/sshd-4-log/notification-fd1
-rwxr-xr-xexamples/source/sshd-4-log/run2
-rw-r--r--examples/source/syslogd-log/notification-fd1
-rwxr-xr-xexamples/source/syslogd-log/run2
-rw-r--r--examples/source/taiclockd-4-log/notification-fd1
-rwxr-xr-xexamples/source/taiclockd-4-log/run2
-rw-r--r--examples/source/udhcpc-eth3-log/notification-fd1
-rwxr-xr-xexamples/source/udhcpc-eth3-log/run2
-rw-r--r--examples/source/udhcpd-wlan0-log/notification-fd1
-rwxr-xr-xexamples/source/udhcpd-wlan0-log/run2
34 files changed, 34 insertions, 17 deletions
diff --git a/examples/source/dns-cache-log/notification-fd b/examples/source/dns-cache-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/dns-cache-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/dns-cache-log/run b/examples/source/dns-cache-log/run
index 4177eaa..6bd00d2 100755
--- a/examples/source/dns-cache-log/run
+++ b/examples/source/dns-cache-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid dnslog
exec -c
-s6-log t s1000000 n20 /var/log/dns-cache
+s6-log -d3 -- t s1000000 n20 /var/log/dns-cache
diff --git a/examples/source/dns-server-tcp-4-log/notification-fd b/examples/source/dns-server-tcp-4-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/dns-server-tcp-4-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/dns-server-tcp-4-log/run b/examples/source/dns-server-tcp-4-log/run
index 1dd5335..290bc39 100755
--- a/examples/source/dns-server-tcp-4-log/run
+++ b/examples/source/dns-server-tcp-4-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid dnslog
exec -c
-s6-log t s1000000 n20 /var/log/dns-server-tcp-4
+s6-log -d3 -- t s1000000 n20 /var/log/dns-server-tcp-4
diff --git a/examples/source/dns-server-udp-log/notification-fd b/examples/source/dns-server-udp-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/dns-server-udp-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/dns-server-udp-log/run b/examples/source/dns-server-udp-log/run
index 0782e5a..e472953 100755
--- a/examples/source/dns-server-udp-log/run
+++ b/examples/source/dns-server-udp-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid dnslog
exec -c
-s6-log t s1000000 n20 /var/log/dns-server-udp
+s6-log -d3 -- t s1000000 n20 /var/log/dns-server-udp
diff --git a/examples/source/fdholder-log/notification-fd b/examples/source/fdholder-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/fdholder-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/fdholder-log/run b/examples/source/fdholder-log/run
index 6cde268..b31d28c 100755
--- a/examples/source/fdholder-log/run
+++ b/examples/source/fdholder-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid fdhlog
exec -c
-s6-log s1000000 n20 t /var/log/fdholder
+s6-log -d3 -- s1000000 n20 t /var/log/fdholder
diff --git a/examples/source/hostapd-log/notification-fd b/examples/source/hostapd-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/hostapd-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/hostapd-log/run b/examples/source/hostapd-log/run
index 6a4554f..5dc102e 100755
--- a/examples/source/hostapd-log/run
+++ b/examples/source/hostapd-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid wifilog
exec -c
-s6-log s1000000 n20 t /var/log/hostapd
+s6-log -d3 -- s1000000 n20 t /var/log/hostapd
diff --git a/examples/source/httpd-4-log/notification-fd b/examples/source/httpd-4-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/httpd-4-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/httpd-4-log/run b/examples/source/httpd-4-log/run
index 549034f..5ee680e 100755
--- a/examples/source/httpd-4-log/run
+++ b/examples/source/httpd-4-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid publilog
exec -c
-s6-log t s1000000 n20 /var/log/httpd-4
+s6-log -d3 -- t s1000000 n20 /var/log/httpd-4
diff --git a/examples/source/identd-4-log/notification-fd b/examples/source/identd-4-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/identd-4-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/identd-4-log/run b/examples/source/identd-4-log/run
index 042e07c..176dc99 100755
--- a/examples/source/identd-4-log/run
+++ b/examples/source/identd-4-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid identlog
exec -c
-s6-log t s1000000 n20 /var/log/identd-4
+s6-log -d3 -- t s1000000 n20 /var/log/identd-4
diff --git a/examples/source/klogd-log/notification-fd b/examples/source/klogd-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/klogd-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/klogd-log/run b/examples/source/klogd-log/run
index d9659e7..d57e688 100755
--- a/examples/source/klogd-log/run
+++ b/examples/source/klogd-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid klog
exec -c
-s6-log t s1000000 n20 /var/log/klogd
+s6-log -d3 -- t s1000000 n20 /var/log/klogd
diff --git a/examples/source/ntpclient-log/notification-fd b/examples/source/ntpclient-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/ntpclient-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/ntpclient-log/run b/examples/source/ntpclient-log/run
index 80d7b5b..be212c9 100755
--- a/examples/source/ntpclient-log/run
+++ b/examples/source/ntpclient-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid ntplog
exec -c
-s6-log t /var/log/ntpclient
+s6-log -d3 -- t /var/log/ntpclient
diff --git a/examples/source/qmail-log/notification-fd b/examples/source/qmail-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/qmail-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/qmail-log/run b/examples/source/qmail-log/run
index 60f9a67..f9fa765 100755
--- a/examples/source/qmail-log/run
+++ b/examples/source/qmail-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid qmaillog
exec -c
-s6-log t s16777216 n64 /var/log/qmail
+s6-log -d3 -- t s16777216 n64 /var/log/qmail
diff --git a/examples/source/qmtpd-4-log/notification-fd b/examples/source/qmtpd-4-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/qmtpd-4-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/qmtpd-4-log/run b/examples/source/qmtpd-4-log/run
index 1efb769..0a2e9e3 100755
--- a/examples/source/qmtpd-4-log/run
+++ b/examples/source/qmtpd-4-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid qmaillog
exec -c
-s6-log t s1000000 n20 /var/log/qmtpd-4
+s6-log -d3 -- t s1000000 n20 /var/log/qmtpd-4
diff --git a/examples/source/smtpd-4-log/notification-fd b/examples/source/smtpd-4-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/smtpd-4-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/smtpd-4-log/run b/examples/source/smtpd-4-log/run
index 43f665b..74eefb3 100755
--- a/examples/source/smtpd-4-log/run
+++ b/examples/source/smtpd-4-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid qmaillog
exec -c
-s6-log t s1000000 n20 /var/log/smtpd-4
+s6-log -d3 -- t s1000000 n20 /var/log/smtpd-4
diff --git a/examples/source/sshd-4-log/notification-fd b/examples/source/sshd-4-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/sshd-4-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/sshd-4-log/run b/examples/source/sshd-4-log/run
index 25f7773..8176595 100755
--- a/examples/source/sshd-4-log/run
+++ b/examples/source/sshd-4-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid log
exec -c
-s6-log t s1000000 n20 /var/log/sshd-4
+s6-log -d3 -- t s1000000 n20 /var/log/sshd-4
diff --git a/examples/source/syslogd-log/notification-fd b/examples/source/syslogd-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/syslogd-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/syslogd-log/run b/examples/source/syslogd-log/run
index 2f62604..9f456cb 100755
--- a/examples/source/syslogd-log/run
+++ b/examples/source/syslogd-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid syslog
exec -c
-s6-log t s1000000 n20 /var/log/syslogd
+s6-log -d3 -- t s1000000 n20 /var/log/syslogd
diff --git a/examples/source/taiclockd-4-log/notification-fd b/examples/source/taiclockd-4-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/taiclockd-4-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/taiclockd-4-log/run b/examples/source/taiclockd-4-log/run
index abb295c..0d5d683 100755
--- a/examples/source/taiclockd-4-log/run
+++ b/examples/source/taiclockd-4-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid tailog
exec -c
-s6-log t s1000000 n20 /var/log/taiclockd-4
+s6-log -d3 -- t s1000000 n20 /var/log/taiclockd-4
diff --git a/examples/source/udhcpc-eth3-log/notification-fd b/examples/source/udhcpc-eth3-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/udhcpc-eth3-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/udhcpc-eth3-log/run b/examples/source/udhcpc-eth3-log/run
index d09823d..c3b3350 100755
--- a/examples/source/udhcpc-eth3-log/run
+++ b/examples/source/udhcpc-eth3-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid log
exec -c
-s6-log t s1000000 n20 /var/log/udhcpc-eth3
+s6-log -d3 -- t s1000000 n20 /var/log/udhcpc-eth3
diff --git a/examples/source/udhcpd-wlan0-log/notification-fd b/examples/source/udhcpd-wlan0-log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/udhcpd-wlan0-log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/udhcpd-wlan0-log/run b/examples/source/udhcpd-wlan0-log/run
index 5142145..7a72920 100755
--- a/examples/source/udhcpd-wlan0-log/run
+++ b/examples/source/udhcpd-wlan0-log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid wifilog
exec -c
-s6-log t s1000000 n20 /var/log/udhcpd-wlan0
+s6-log -d3 -- t s1000000 n20 /var/log/udhcpd-wlan0