diff options
author | Leah Neukirchen <leah@vuxu.org> | 2024-02-08 14:55:47 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2024-02-08 14:55:47 +0100 |
commit | debf0231cb0af5f1fe06399a1bca7f84055acb3a (patch) | |
tree | 2a6fdecc8fa9b4c5f3ad0a7a2b9cb6ad2f494fab | |
parent | 5d3857a7171cf5361a088fce3eb213c1d1640578 (diff) | |
download | nitro-debf0231cb0af5f1fe06399a1bca7f84055acb3a.tar.gz nitro-debf0231cb0af5f1fe06399a1bca7f84055acb3a.tar.xz nitro-debf0231cb0af5f1fe06399a1bca7f84055acb3a.zip |
give SIGTERM processes 7 seconds too on shutdown
-rw-r--r-- | nitro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nitro.c b/nitro.c index 3f30507..ac8aaae 100644 --- a/nitro.c +++ b/nitro.c @@ -1548,7 +1548,7 @@ main(int argc, char *argv[]) }; sigaction(SIGALRM, &sa, 0); - alarm(3); + alarm(7); while (1) { int r = waitpid(-1, 0, 0); if (r < 0) |