From 049af7a95b01eba14d33586ad5852dddaf107e53 Mon Sep 17 00:00:00 2001 From: Parabola Date: Sun, 17 Apr 2011 19:27:42 +0000 Subject: Fixed --- testing/rsync/rsyncd | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 testing/rsync/rsyncd (limited to 'testing/rsync/rsyncd') diff --git a/testing/rsync/rsyncd b/testing/rsync/rsyncd deleted file mode 100644 index 573130fb3..000000000 --- a/testing/rsync/rsyncd +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy "Starting rsyncd" - [ ! -f /var/run/daemons/rsyncd ] && /usr/bin/rsync --daemon - if [ $? -gt 0 ]; then - stat_fail - else - #pgrep -of "/usr/bin/rsync --daemon" > /var/run/rsyncd.pid # Removed FS#20942 - add_daemon rsyncd - stat_done - fi - ;; - - stop) - stat_busy "Stopping rsyncd" - [ -f /var/run/rsyncd.pid ] && kill `cat /var/run/rsyncd.pid` - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon rsyncd - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 -- cgit v1.2.3-54-g00ecf