Commit b5686c1a authored by Pierre-Yves Ritschard's avatar Pierre-Yves Ritschard
Browse files

Do not expect UPSTART_JOB to be redis

parent bc1a3b96
...@@ -3534,9 +3534,6 @@ int redisIsSupervised(void) { ...@@ -3534,9 +3534,6 @@ int redisIsSupervised(void) {
return 0; return 0;
if (upstart_job != NULL) { if (upstart_job != NULL) {
if (strcmp(upstart_job, "redis") != 0)
return 0;
redisLog(REDIS_NOTICE, "supervised by upstart, will stop to signal readyness"); redisLog(REDIS_NOTICE, "supervised by upstart, will stop to signal readyness");
raise(SIGSTOP); raise(SIGSTOP);
unsetenv("UPSTART_JOB"); unsetenv("UPSTART_JOB");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment