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
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

2
rsync/rsync.spec

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

Loading…
Cancel
Save