From df194e5564f5b32aaf0e107b97095a1dd5bdbe35 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 16 Jun 2015 06:09:58 +0000 Subject: Update examples/ to use notification-fd --- examples/ROOT/img/services-local/syslogd-linux/notification-fd | 1 + examples/ROOT/img/services-local/syslogd-linux/run | 2 +- examples/ROOT/img/services-network/sshd/notification-fd | 1 + examples/ROOT/img/services-network/sshd/run | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 examples/ROOT/img/services-local/syslogd-linux/notification-fd create mode 100644 examples/ROOT/img/services-network/sshd/notification-fd (limited to 'examples') diff --git a/examples/ROOT/img/services-local/syslogd-linux/notification-fd b/examples/ROOT/img/services-local/syslogd-linux/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/examples/ROOT/img/services-local/syslogd-linux/notification-fd @@ -0,0 +1 @@ +3 diff --git a/examples/ROOT/img/services-local/syslogd-linux/run b/examples/ROOT/img/services-local/syslogd-linux/run index f58a862..de33c2c 100755 --- a/examples/ROOT/img/services-local/syslogd-linux/run +++ b/examples/ROOT/img/services-local/syslogd-linux/run @@ -2,7 +2,7 @@ fdmove -c 2 1 exec -c s6-envuidgid nobody -s6-notifywhenup -f +fdmove 1 3 s6-ipcserver -U -1 -- /dev/log fdmove -c 1 2 ucspilogd IPCREMOTEEUID IPCREMOTEEGID diff --git a/examples/ROOT/img/services-network/sshd/notification-fd b/examples/ROOT/img/services-network/sshd/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/examples/ROOT/img/services-network/sshd/notification-fd @@ -0,0 +1 @@ +3 diff --git a/examples/ROOT/img/services-network/sshd/run b/examples/ROOT/img/services-network/sshd/run index 45bc6a8..3a35a11 100755 --- a/examples/ROOT/img/services-network/sshd/run +++ b/examples/ROOT/img/services-network/sshd/run @@ -1,6 +1,6 @@ #!/command/execlineb -P fdmove -c 2 1 -s6-notifywhenup -f +fdmove 1 3 s6-tcpserver4 -1 -- 0.0.0.0 22 s6-tcpserver-access -vvDRl0 -t 5000 -i rules dropbear -iEg -- cgit v1.2.3