summaryrefslogtreecommitdiff
path: root/community/mfs/mfsmaster
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-03-29 08:32:53 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-03-29 08:32:53 +0100
commitf1fb1946c076c285bc95baf9fd3390e4e2b9acdc (patch)
treed902ae855f1c065fd5ffdd1da6c64689dfad84c3 /community/mfs/mfsmaster
parentba24960f5e4f00fa98d065bebb829fc08d3645eb (diff)
parent236f7ce9638c79b9ff594552540f3f5a2cbd8703 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/mfs/PKGBUILD core/procps-ng/PKGBUILD extra/nx/PKGBUILD
Diffstat (limited to 'community/mfs/mfsmaster')
-rw-r--r--community/mfs/mfsmaster39
1 files changed, 0 insertions, 39 deletions
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