cronie: update to 1.4.4.

This commit is contained in:
Juan RP 2010-05-06 05:17:55 +02:00
parent 1721e748c0
commit 64aa270a95
3 changed files with 18 additions and 4 deletions

View file

@ -1,5 +1,7 @@
/var/log/cron { /var/log/cron {
sharedscripts sharedscripts
copytruncate copytruncate
missingok postrotate
/etc/init.d/crond reload >/dev/null 2>&1 || true
endscript
} }

View file

@ -2,9 +2,22 @@
command=/usr/sbin/crond command=/usr/sbin/crond
pidfile=/var/run/crond.pid pidfile=/var/run/crond.pid
extra_commands="reload"
depend() depend()
{ {
need localmount need localmount
after bootmisc after bootmisc
} }
reload()
{
if [ ! -f "${pidfile}" ]; then
eerror "crond not running"
return 1
fi
ebegin "Reloading configuration and re-opening log file"
start-stop-daemon --stop --oknodo --signal HUP \
--pidfile "${pidfile}"
eend $?
}

View file

@ -1,7 +1,6 @@
# Template file for 'cronie' # Template file for 'cronie'
pkgname=cronie pkgname=cronie
version=1.4.3 version=1.4.4
revision=2
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz" distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
build_style=gnu_configure build_style=gnu_configure
configure_args="--with-inotify --without-selinux --with-pam --disable-anacron configure_args="--with-inotify --without-selinux --with-pam --disable-anacron
@ -9,7 +8,7 @@ configure_args="--with-inotify --without-selinux --with-pam --disable-anacron
--localstatedir=/var" --localstatedir=/var"
short_desc="Runs specified programs at scheduled times" short_desc="Runs specified programs at scheduled times"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=3f498ad156bdf0f5fe3c619f3e13c0b07ccaf4bd921c86c526fe1de7b86fccae checksum=cdceb796afe78e3955131ddec07b31e6b1600a72b1178c33d3074c6e0a021e60
long_desc=" long_desc="
Cronie contains the standard UNIX daemon crond that runs specified programs at Cronie contains the standard UNIX daemon crond that runs specified programs at
scheduled times and related tools. It is based on the original cron and scheduled times and related tools. It is based on the original cron and