diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-11-16 13:47:03 +0100 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-11-16 13:47:03 +0100 |
commit | 69fa1d589bce1d6b17ea9948cce3cb80a7f84819 (patch) | |
tree | 217302164e1b62ec6c135006df77f2eb5a16aa44 /redis.sh | |
parent | 28d4c0a14a8f4b66d9d0f03e55097c22280b8fdd (diff) |
Added support for OHM port
Diffstat (limited to 'redis.sh')
-rwxr-xr-x | redis.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -59,6 +59,10 @@ if ! $REDIS_DONE; then if ! grep "save 900 1" $REDIS_SERVER_CONF >>$LOG 2>&1 ; then echo "save 900 1" >> $REDIS_SERVER_CONF 2>$LOG fi + + if ! grep "port $OHM_PORT" $REDIS_SERVER_CONF >>$LOG 2>&1 ; then + echo "port $OHM_PORT" >> $REDIS_SERVER_CONF 2>$LOG + fi fi if [ ! -f $REDIS_CONF ]; then |