summaryrefslogtreecommitdiff
path: root/community/mfs/mfsmetalogger
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-31 16:24:59 +0000
committerroot <root@rshg054.dnsready.net>2012-05-31 16:24:59 +0000
commitf5a8de28b86c2c838a28e79aa54f8b4c3fbd869e (patch)
tree26873b23c15ea28962e55ab4dc7ae94b468089cf /community/mfs/mfsmetalogger
parentf1ae949e08a764ac063703dc9bb7f0afd7c16e96 (diff)
Thu May 31 16:24:59 UTC 2012
Diffstat (limited to 'community/mfs/mfsmetalogger')
-rwxr-xr-xcommunity/mfs/mfsmetalogger8
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