From 236f7ce9638c79b9ff594552540f3f5a2cbd8703 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 29 Mar 2013 00:06:00 -0700 Subject: Fri Mar 29 00:06:00 PDT 2013 --- community/mfs/mfsmaster | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 community/mfs/mfsmaster (limited to 'community/mfs/mfsmaster') diff --git a/community/mfs/mfsmaster b/community/mfs/mfsmaster deleted file mode 100644 index b0cfd8299..000000000 --- a/community/mfs/mfsmaster +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID -x /usr/bin/mfsmaster` -case "$1" in - start) - stat_busy "Starting MooseFS Master Daemon" - if [ -z "$PID" ]; then - /usr/bin/mfsmaster start - fi - if [ ! -z "$PID" -o $? -gt 0 ]; then - stat_fail - else - PID=`pidof -o %PPID -x /usr/bin/mfsmaster` - echo $PID > /var/run/mfsmaster.pid - add_daemon mfsmaster - stat_done - fi - ;; - stop) - stat_busy "Stopping MooseFS Master Daemon" - [ ! -z "$PID" ] && /usr/bin/mfsmaster stop &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon mfsmaster - rm /var/run/mfsmaster.pid - stat_done - fi - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -- cgit v1.2.3-54-g00ecf