Closed GoogleCodeExporter closed 9 years ago
Not a solution to the SIGTERM issue, but here is a simplified version (removed
special things and distribution-specific parts) of the init script we use here.
Original comment by kata...@gmail.com
on 21 Dec 2009 at 4:06
Attachments:
Also if you distribute redis-cli with your package, you can use the following to
shutdown:
"redis-cli shutdown"
Original comment by kata...@gmail.com
on 21 Dec 2009 at 4:08
Thanks. As a note, "redis-cli shutdown" doesn't integrate well with my init
script -
I tried something like this:
if $CLI -p $PORT shutdown ; then
success
else
fail
fi
which resulted in a fail because redis-cli seems to return 1 on shutdown:
s11:~$ ./redis/redis-cli -p 62017 shutdown
s11:~$ echo $?
1
(maybe this is worth another bugreport?)
Anyway, still waiting for a proper shutdown with SIGTERM :-)
Original comment by thomas...@gmail.com
on 21 Dec 2009 at 9:39
http://github.com/astro/redis/commits/issue_128
Original comment by Str...@googlemail.com
on 18 Apr 2010 at 1:48
fixed in Redis master
Original comment by anti...@gmail.com
on 23 Aug 2010 at 4:46
Original issue reported on code.google.com by
thomas...@gmail.com
on 20 Dec 2009 at 7:50