diff options
Diffstat (limited to 'community/mfs/mfsmetalogger')
-rwxr-xr-x | community/mfs/mfsmetalogger | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/community/mfs/mfsmetalogger b/community/mfs/mfsmetalogger index afa451929..a870cc5a7 100755 --- a/community/mfs/mfsmetalogger +++ b/community/mfs/mfsmetalogger @@ -3,17 +3,17 @@ . /etc/rc.conf . /etc/rc.d/functions -PID=`pidof -o %PPID /usr/sbin/mfsmetalogger` +PID=`pidof -o %PPID /usr/bin/mfsmetalogger` case "$1" in start) stat_busy "Starting MooseFS Metalogger Daemon" if [ -z "$PID" ]; then - /usr/sbin/mfsmetalogger start + /usr/bin/mfsmetalogger start fi if [ ! -z "$PID" -o $? -gt 0 ]; then stat_fail else - PID=`pidof -o %PPID /usr/sbin/mfsmetalogger` + PID=`pidof -o %PPID /usr/bin/mfsmetalogger` echo $PID > /var/run/mfsmetalogger.pid add_daemon mfsmetalogger stat_done @@ -21,7 +21,7 @@ case "$1" in ;; stop) stat_busy "Stopping MooseFS Metalogger Daemon" - [ ! -z "$PID" ] && /usr/sbin/mfsmetalogger stop &> /dev/null + [ ! -z "$PID" ] && /usr/bin/mfsmetalogger stop &> /dev/null if [ $? -gt 0 ]; then stat_fail else |