mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Do not expect UPSTART_JOB to be redis
This commit is contained in:
parent
bc1a3b96e6
commit
b5686c1a4d
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user