update to 3.0.8

OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=11
This commit is contained in:
2011-03-29 14:20:06 +00:00
committed by Git OBS Bridge
parent 9bece6f6e5
commit 871babdd6a
8 changed files with 105 additions and 61 deletions

View File

@@ -76,7 +76,7 @@ case "$1" in
## Stop daemon with killproc(8) and if this fails
## set echo the echo return value.
killproc -p $RSYNCD_PID -TERM $RSYNCD_BIN
killproc -p $RSYNCD_PID $RSYNCD_BIN
# Remember status and be verbose
rc_status -v
@@ -104,17 +104,14 @@ case "$1" in
## do this on signal 1 (SIGHUP).
## If it does not support it, restart.
echo -n "Reload service rsync"
killproc -p $RSYNCD_PID -HUP $RSYNCD_BIN
echo "Reload service rsync"
"$0" restart
rc_status -v
;;
reload)
## Like force-reload, but if daemon does not support
## signalling, do nothing (!)
# If it supports signalling:
# rsyncd does not catch SIGHUP
echo -n "Reload service rsync"
killproc -p $RSYNCD_PID -HUP $RSYNCD_BIN
rc_failed 3
rc_status -v
;;
status)