mirror of
https://github.com/fluencelabs/redis
synced 2025-04-27 03:22:14 +00:00
fix several bugs of init.d scripts
- PIDFILE environ variable was not properly retrieved - chkconfig command failed
This commit is contained in:
parent
96e9f8d5e3
commit
c4286feabe
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user