summaryrefslogtreecommitdiff
path: root/community/mfs/mfsmaster
diff options
context:
space:
mode:
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