From 3760c8ae744cdbb75b1150148162861e1299323b Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 8 Jul 2015 20:03:09 +0000 Subject: - documented producer->logger dependency - s6rc-oneshot-runner doesn't invoke s6-notifywhenup anymore --- src/s6-rc/s6-rc-compile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/s6-rc/s6-rc-compile.c b/src/s6-rc/s6-rc-compile.c index b2b82dd..94d185a 100644 --- a/src/s6-rc/s6-rc-compile.c +++ b/src/s6-rc/s6-rc-compile.c @@ -32,8 +32,8 @@ #define S6RC_ONESHOT_RUNNER_RUNSCRIPT \ "#!" EXECLINE_EXTBINPREFIX "execlineb -P\n" \ EXECLINE_EXTBINPREFIX "fdmove -c 2 1\n" \ +EXECLINE_EXTBINPREFIX "fdmove -c 1 3\n" \ S6_EXTBINPREFIX "s6-ipcserver-socketbinder -- s\n" \ -S6_EXTBINPREFIX "s6-notifywhenup -f --\n" \ S6_EXTBINPREFIX "s6-ipcserverd -1 --\n" \ S6_EXTBINPREFIX "s6-ipcserver-access -v0 -E -l0 -i data/rules --\n" \ S6_EXTBINPREFIX "s6-sudod -t 2000 --\n" @@ -828,6 +828,7 @@ static inline void write_sizes (char const *compiled, s6rc_db_t const *db) static inline void write_specials (char const *compiled) { auto_dir(compiled, "servicedirs/" S6RC_ONESHOT_RUNNER) ; + auto_file(compiled, "servicedirs/" S6RC_ONESHOT_RUNNER "/notification-fd", "3\n", 2) ; auto_dir(compiled, "servicedirs/" S6RC_ONESHOT_RUNNER "/data") ; auto_dir(compiled, "servicedirs/" S6RC_ONESHOT_RUNNER "/data/rules") ; auto_dir(compiled, "servicedirs/" S6RC_ONESHOT_RUNNER "/data/rules/uid") ; -- cgit v1.2.3