diff options
Diffstat (limited to 'runit')
-rw-r--r-- | runit/runsv.c | 5 | ||||
-rw-r--r-- | runit/svlogd.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/runit/runsv.c b/runit/runsv.c index 56244d0..1237208 100644 --- a/runit/runsv.c +++ b/runit/runsv.c @@ -336,10 +336,11 @@ static void startservice(struct svdir *s) xdup2(logpipe.wr, 1); } } - bb_signals(0 + /* Non-ignored signals revert to SIG_DFL on exec anyway */ + /*bb_signals(0 + (1 << SIGCHLD) + (1 << SIGTERM) - , SIG_DFL); + , SIG_DFL);*/ sig_unblock(SIGCHLD); sig_unblock(SIGTERM); execvp(*run, run); diff --git a/runit/svlogd.c b/runit/svlogd.c index 6419128..9beb9f5 100644 --- a/runit/svlogd.c +++ b/runit/svlogd.c @@ -227,11 +227,12 @@ static void processorstart(struct logdir *ld) int fd; /* child */ - bb_signals(0 + /* Non-ignored signals revert to SIG_DFL on exec anyway */ + /*bb_signals(0 + (1 << SIGTERM) + (1 << SIGALRM) + (1 << SIGHUP) - , SIG_DFL); + , SIG_DFL);*/ sig_unblock(SIGTERM); sig_unblock(SIGALRM); sig_unblock(SIGHUP); |