mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 01:31:21 +00:00
fix several bugs of init.d scripts
- PIDFILE environ variable was not properly retrieved - chkconfig command failed
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
if [ -f $$PIDFILE ]
|
if [ -f $PIDFILE ]
|
||||||
then
|
then
|
||||||
echo "$PIDFILE exists, process is already running or crashed"
|
echo "$PIDFILE exists, process is already running or crashed"
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user