diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-05-03 16:58:41 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-05-03 16:58:41 +0200 |
commit | cbdcb44f572b96f49323879202573e194c868069 (patch) | |
tree | 9b515c6208a22fc14b4c1308215540f06d57f2f9 /redis.sh | |
parent | f6085064817740351aad5cd37aa1aa7c19be4361 (diff) |
Fixed redis save
Diffstat (limited to 'redis.sh')
-rwxr-xr-x | redis.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -55,6 +55,10 @@ if ! $REDIS_DONE; then if ! grep "dir `pwd`" $REDIS_SERVER_CONF >>$LOG 2>&1 ; then echo "dir `pwd`" >> $REDIS_SERVER_CONF 2>$LOG fi + + if ! grep "save 900 1" $REDIS_SERVER_CONF >>$LOG 2>&1 ; then + echo "save 900 1" >> $REDIS_SERVER_CONF 2>$LOG + fi fi if [ ! -f $REDIS_CONF ]; then |