]> git.saurik.com Git - redis.git/blobdiff - utils/install_server.sh
Warn when configured maxmemory value seems odd.
[redis.git] / utils / install_server.sh
index 06570a87f7c2f6ad0e6b9ea29f36b3d071f03ae9..70f0adfe36ded17c6be54a01284f45fe73ed47cf 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/bash
 
 # Copyright 2011 Dvir Volk <dvirsk at gmail dot com>. All rights reserved.
 #
@@ -166,7 +166,7 @@ if [[ ! `which chkconfig` ]] ; then
 else
        # we're chkconfig, so lets add to chkconfig and put in runlevel 345
        chkconfig --add redis_$REDIS_PORT && echo "Successfully added to chkconfig!"
-       chkconfig--level 345 redis_$REDIS_PORT on && echo "Successfully added to runlevels 345!"
+       chkconfig --level 345 redis_$REDIS_PORT on && echo "Successfully added to runlevels 345!"
 fi
        
 /etc/init.d/redis_$REDIS_PORT start || die "Failed starting service..."