diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-07 22:31:25 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-07 22:31:25 -0300 |
commit | 9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (patch) | |
tree | 06520d9024b40745b94f02d0d3419386e6496863 /community/mfs/mfsmetalogger | |
parent | 6cc893589a6bd208f2b7711f985e17df7a6df816 (diff) | |
parent | a86ff663185661ee304bb1f6d00d982102dd706d (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/mfs/mfsmetalogger')
-rw-r--r-- | community/mfs/mfsmetalogger | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/community/mfs/mfsmetalogger b/community/mfs/mfsmetalogger deleted file mode 100644 index a870cc5a7..000000000 --- a/community/mfs/mfsmetalogger +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/bin/mfsmetalogger` -case "$1" in - start) - stat_busy "Starting MooseFS Metalogger Daemon" - if [ -z "$PID" ]; then - /usr/bin/mfsmetalogger start - fi - if [ ! -z "$PID" -o $? -gt 0 ]; then - stat_fail - else - PID=`pidof -o %PPID /usr/bin/mfsmetalogger` - echo $PID > /var/run/mfsmetalogger.pid - add_daemon mfsmetalogger - stat_done - fi - ;; - stop) - stat_busy "Stopping MooseFS Metalogger Daemon" - [ ! -z "$PID" ] && /usr/bin/mfsmetalogger stop &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon mfsmetalogger - rm /var/run/mfsmetalogger.pid - stat_done - fi - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac |