Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b5686c1a
Commit
b5686c1a
authored
Dec 10, 2014
by
Pierre-Yves Ritschard
Browse files
Do not expect UPSTART_JOB to be redis
parent
bc1a3b96
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
b5686c1a
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment