Permalink
Browse files

fix start command: needs full path

  • Loading branch information...
1 parent 1950a8f commit 93f86fac91e015546430028a3121e299ce200d99 @michael-dev committed Aug 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 heartbeat/redis
View
@@ -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

0 comments on commit 93f86fa

Please sign in to comment.