|
|
|
@ -31,7 +31,7 @@
|
|
|
|
|
%restart -u root |
|
|
|
|
if opServiceEnabled rsync; then |
|
|
|
|
if [ -f $rsync_pidfile ]; then |
|
|
|
|
kill -TERM `cat $rsync_pidfile ]; then |
|
|
|
|
kill -TERM `cat $rsync_pidfile` |
|
|
|
|
sleep 2 |
|
|
|
|
fi |
|
|
|
|
@l_prefix@/bin/rsync $rsync_flags \ |
|
|
|
@ -41,7 +41,7 @@
|
|
|
|
|
%reload -u root |
|
|
|
|
if opServiceEnabled rsync; then |
|
|
|
|
if [ -f $rsync_pidfile ]; then |
|
|
|
|
kill -HUP `cat $rsync_pidfile ]; then |
|
|
|
|
kill -HUP `cat $rsync_pidfile` |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|