Lines Matching refs:REDIS_PORT
57 read -p "Please select the redis port for this instance: [$_REDIS_PORT] " REDIS_PORT
58 if ! echo $REDIS_PORT | egrep -q '^[0-9]+$' ; then
60 REDIS_PORT=$_REDIS_PORT
64 _REDIS_CONFIG_FILE="/etc/redis/$REDIS_PORT.conf"
72 _REDIS_LOG_FILE="/var/log/redis_$REDIS_PORT.log"
81 _REDIS_DATA_DIR="/var/lib/redis/$REDIS_PORT"
108 echo "Port : $REDIS_PORT"
122 TMP_FILE="/tmp/${REDIS_PORT}.conf"
125 INIT_SCRIPT_DEST="/etc/init.d/redis_${REDIS_PORT}"
126 PIDFILE="/var/run/redis_${REDIS_PORT}.pid"
161 REDISPORT=\"$REDIS_PORT\"\n\n
167 # description: redis_${REDIS_PORT} is the redis daemon.\n
176 # Short-Description: start and stop redis_${REDIS_PORT}\n
203 REDISPORT="$REDIS_PORT"
232 chkconfig --add redis_${REDIS_PORT} && echo "Successfully added to chkconfig!"
233 chkconfig --level 345 redis_${REDIS_PORT} on && echo "Successfully added to runlevels 345!"
236 update-rc.d redis_${REDIS_PORT} defaults && echo "Success!"
241 /etc/init.d/redis_$REDIS_PORT start || die "Failed starting service..."