s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

commit df194e5564f5b32aaf0e107b97095a1dd5bdbe35
parent 0a39023fd7229371dd3e505208a1c0e073414ac2
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Tue, 16 Jun 2015 06:09:58 +0000

 Update examples/ to use notification-fd

Diffstat:
Aexamples/ROOT/img/services-local/syslogd-linux/notification-fd | 1+
Mexamples/ROOT/img/services-local/syslogd-linux/run | 2+-
Aexamples/ROOT/img/services-network/sshd/notification-fd | 1+
Mexamples/ROOT/img/services-network/sshd/run | 2+-
4 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/examples/ROOT/img/services-local/syslogd-linux/notification-fd 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 @@ -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 @@ -0,0 +1 @@ +3 diff --git 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