6 echo "$PIDFILE exists, process is already running or crashed"
8 echo "Starting Redis server..."
15 echo "$PIDFILE does not exist, process is not running"
19 $CLIEXEC -p $REDISPORT shutdown
20 while [ -x /proc/${PID} ]
22 echo "Waiting for Redis to shutdown ..."
29 echo "Please use start or stop as first argument"