summaryrefslogtreecommitdiff
path: root/community/mfs/mfsmaster
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/mfsmaster
parentf1ae949e08a764ac063703dc9bb7f0afd7c16e96 (diff)
Thu May 31 16:24:59 UTC 2012
Diffstat (limited to 'community/mfs/mfsmaster')
-rwxr-xr-xcommunity/mfs/mfsmaster8
1 files changed, 4 insertions, 4 deletions
diff --git a/community/mfs/mfsmaster b/community/mfs/mfsmaster
index ee1c74c5a..b0cfd8299 100755
--- a/community/mfs/mfsmaster
+++ b/community/mfs/mfsmaster
@@ -3,17 +3,17 @@
. /etc/rc.conf
. /etc/rc.d/functions
-PID=`pidof -o %PPID -x /usr/sbin/mfsmaster`
+PID=`pidof -o %PPID -x /usr/bin/mfsmaster`
case "$1" in
start)
stat_busy "Starting MooseFS Master Daemon"
if [ -z "$PID" ]; then
- /usr/sbin/mfsmaster start
+ /usr/bin/mfsmaster start
fi
if [ ! -z "$PID" -o $? -gt 0 ]; then
stat_fail
else
- PID=`pidof -o %PPID -x /usr/sbin/mfsmaster`
+ PID=`pidof -o %PPID -x /usr/bin/mfsmaster`
echo $PID > /var/run/mfsmaster.pid
add_daemon mfsmaster
stat_done
@@ -21,7 +21,7 @@ case "$1" in
;;
stop)
stat_busy "Stopping MooseFS Master Daemon"
- [ ! -z "$PID" ] && /usr/sbin/mfsmaster stop &> /dev/null
+ [ ! -z "$PID" ] && /usr/bin/mfsmaster stop &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else