Skip to content

Commit

Permalink
fix start command: needs full path
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-dev committed Aug 30, 2012
1 parent 1950a8f commit 93f86fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heartbeat/redis
Expand Up @@ -370,7 +370,7 @@ redis_start() {
touch $OCF_RESKEY_pid
chown $OCF_RESKEY_user:$OCF_RESKEY_group $OCF_RESKEY_pid

start-stop-daemon --start --quiet --umask 007 --pidfile $OCF_RESKEY_pid --make-pidfile --chuid $OCF_RESKEY_user:$OCF_RESKEY_group --exec $OCF_RESKEY_binary -- $OCF_RESKEY_config
start-stop-daemon --start --quiet --umask 007 --pidfile $OCF_RESKEY_pid --make-pidfile --chuid $OCF_RESKEY_user:$OCF_RESKEY_group --exec $(which $OCF_RESKEY_binary) -- $OCF_RESKEY_config
rc=$?

if [ $rc -ne 0 ]; then
Expand Down

0 comments on commit 93f86fa

Please sign in to comment.