X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/92e984dbcdea9c60b0e615c882e9796ab0cd9390..e04be06e89ac7158f0a5a79668ee734bf879c9e4:/utils/install_server.sh diff --git a/utils/install_server.sh b/utils/install_server.sh index 06570a87..70f0adfe 100755 --- a/utils/install_server.sh +++ b/utils/install_server.sh @@ -1,4 +1,4 @@ -#! /bin/sh +#!/bin/bash # Copyright 2011 Dvir Volk . 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..."