From 11d552a5ef98ab91479c7753997b4d9c51803f96 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 15 Jan 2019 15:29:23 +0000 Subject: Add s6-log notifications to examples, prepare for 0.4.1.1 --- examples/source/dns-cache-log/notification-fd | 1 + examples/source/dns-cache-log/run | 2 +- examples/source/dns-server-tcp-4-log/notification-fd | 1 + examples/source/dns-server-tcp-4-log/run | 2 +- examples/source/dns-server-udp-log/notification-fd | 1 + examples/source/dns-server-udp-log/run | 2 +- examples/source/fdholder-log/notification-fd | 1 + examples/source/fdholder-log/run | 2 +- examples/source/hostapd-log/notification-fd | 1 + examples/source/hostapd-log/run | 2 +- examples/source/httpd-4-log/notification-fd | 1 + examples/source/httpd-4-log/run | 2 +- examples/source/identd-4-log/notification-fd | 1 + examples/source/identd-4-log/run | 2 +- examples/source/klogd-log/notification-fd | 1 + examples/source/klogd-log/run | 2 +- examples/source/ntpclient-log/notification-fd | 1 + examples/source/ntpclient-log/run | 2 +- examples/source/qmail-log/notification-fd | 1 + examples/source/qmail-log/run | 2 +- examples/source/qmtpd-4-log/notification-fd | 1 + examples/source/qmtpd-4-log/run | 2 +- examples/source/smtpd-4-log/notification-fd | 1 + examples/source/smtpd-4-log/run | 2 +- examples/source/sshd-4-log/notification-fd | 1 + examples/source/sshd-4-log/run | 2 +- examples/source/syslogd-log/notification-fd | 1 + examples/source/syslogd-log/run | 2 +- examples/source/taiclockd-4-log/notification-fd | 1 + examples/source/taiclockd-4-log/run | 2 +- examples/source/udhcpc-eth3-log/notification-fd | 1 + examples/source/udhcpc-eth3-log/run | 2 +- examples/source/udhcpd-wlan0-log/notification-fd | 1 + examples/source/udhcpd-wlan0-log/run | 2 +- 34 files changed, 34 insertions(+), 17 deletions(-) create mode 100644 examples/source/dns-cache-log/notification-fd create mode 100644 examples/source/dns-server-tcp-4-log/notification-fd create mode 100644 examples/source/dns-server-udp-log/notification-fd create mode 100644 examples/source/fdholder-log/notification-fd create mode 100644 examples/source/hostapd-log/notification-fd create mode 100644 examples/source/httpd-4-log/notification-fd create mode 100644 examples/source/identd-4-log/notification-fd create mode 100644 examples/source/klogd-log/notification-fd create mode 100644 examples/source/ntpclient-log/notification-fd create mode 100644 examples/source/qmail-log/notification-fd create mode 100644 examples/source/qmtpd-4-log/notification-fd create mode 100644 examples/source/smtpd-4-log/notification-fd create mode 100644 examples/source/sshd-4-log/notification-fd create mode 100644 examples/source/syslogd-log/notification-fd create mode 100644 examples/source/taiclockd-4-log/notification-fd create mode 100644 examples/source/udhcpc-eth3-log/notification-fd create mode 100644 examples/source/udhcpd-wlan0-log/notification-fd (limited to 'examples/source') 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 -- cgit v1.2.3