mirror of
https://github.com/fluencelabs/redis
synced 2025-06-19 04:01:22 +00:00
Merge pull request #2134 from pyr/feature/supervised-init
Support daemon supervision by upstart or systemd
This commit is contained in:
@ -857,7 +857,7 @@ void sigsegvHandler(int sig, siginfo_t *info, void *secret) {
|
||||
" Suspect RAM error? Use redis-server --test-memory to verify it.\n\n"
|
||||
);
|
||||
/* free(messages); Don't call free() with possibly corrupted memory. */
|
||||
if (server.daemonize) unlink(server.pidfile);
|
||||
if (server.daemonize && server.supervised == 0) unlink(server.pidfile);
|
||||
|
||||
/* Make sure we exit with the right signal at the end. So for instance
|
||||
* the core will be dumped if enabled. */
|
||||
|
Reference in New Issue
Block a user