Browse Source

fix rc stuff

master
parent
commit
3f9510c604
  1. 4
      rsync/rc.rsync
  2. 2
      rsync/rsync.spec

4
rsync/rc.rsync

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

2
rsync/rsync.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [REL]
Group: Filesystem Group: Filesystem
License: GPL License: GPL
Version: 2.5.4 Version: 2.5.4
Release: 20020326 Release: 20020328
# list of sources # list of sources
Source0: http://rsync.samba.org/ftp/rsync/rsync-%{version}.tar.gz Source0: http://rsync.samba.org/ftp/rsync/rsync-%{version}.tar.gz

Loading…
Cancel
Save