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