summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-07-08 20:03:09 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-07-08 20:03:09 +0000
commit3760c8ae744cdbb75b1150148162861e1299323b (patch)
tree39e11081a3a086560034c8e4cedec7d3c25491ae /src
parentddde35476ce7564b54174963be501e202428e45d (diff)
downloads6-rc-3760c8ae744cdbb75b1150148162861e1299323b.tar.xz
- documented producer->logger dependency
- s6rc-oneshot-runner doesn't invoke s6-notifywhenup anymore
Diffstat (limited to 'src')
-rw-r--r--src/s6-rc/s6-rc-compile.c3
1 files changed, 2 insertions, 1 deletions
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") ;