Do not expect UPSTART_JOB to be redis

This commit is contained in:
Pierre-Yves Ritschard 2014-12-10 21:36:53 +01:00
parent bc1a3b96e6
commit b5686c1a4d

View File

@ -3534,9 +3534,6 @@ int redisIsSupervised(void) {
return 0;
if (upstart_job != NULL) {
if (strcmp(upstart_job, "redis") != 0)
return 0;
redisLog(REDIS_NOTICE, "supervised by upstart, will stop to signal readyness");
raise(SIGSTOP);
unsetenv("UPSTART_JOB");