From b4aef22d7fce695b7a6690608aa57e955f4476c2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 11 Oct 2011 05:48:28 +0200 Subject: [PATCH] cronie: update logrotate file for systemd. --- srcpkgs/cronie/files/crond.logrotate | 2 +- srcpkgs/cronie/template | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cronie/files/crond.logrotate b/srcpkgs/cronie/files/crond.logrotate index 8a7e7863038..5ccfe739d5b 100644 --- a/srcpkgs/cronie/files/crond.logrotate +++ b/srcpkgs/cronie/files/crond.logrotate @@ -2,6 +2,6 @@ sharedscripts copytruncate postrotate - /etc/init.d/crond reload >/dev/null 2>&1 || true + systemctl try-restart cronie.service >/dev/null 2>&1 || true endscript } diff --git a/srcpkgs/cronie/template b/srcpkgs/cronie/template index d805b86d0ca..30bc925d436 100644 --- a/srcpkgs/cronie/template +++ b/srcpkgs/cronie/template @@ -1,6 +1,7 @@ # Template file for 'cronie' pkgname=cronie version=1.4.8 +revision=1 distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz" build_style=gnu_configure configure_args="--with-inotify --without-selinux --with-pam --disable-anacron