From 0a60065bef45cbebff293ac9748c9af075c1307c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 11 Oct 2011 05:47:17 +0200 Subject: [PATCH] rsyslog: update logrotate file for systemd. --- srcpkgs/rsyslog/files/rsyslog.logrotate | 2 +- srcpkgs/rsyslog/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/rsyslog/files/rsyslog.logrotate b/srcpkgs/rsyslog/files/rsyslog.logrotate index aa502c4de8e..49c290a0949 100644 --- a/srcpkgs/rsyslog/files/rsyslog.logrotate +++ b/srcpkgs/rsyslog/files/rsyslog.logrotate @@ -2,6 +2,6 @@ missingok sharedscripts postrotate - /etc/init.d/rsyslogd reload >/dev/null 2>&1 || true + systemctl try-restart rsyslog >/dev/null 2>&1 || true endscript } diff --git a/srcpkgs/rsyslog/template b/srcpkgs/rsyslog/template index 5f0117a4462..08eceefe88b 100644 --- a/srcpkgs/rsyslog/template +++ b/srcpkgs/rsyslog/template @@ -1,7 +1,7 @@ # Template file for 'rsyslog' pkgname=rsyslog version=5.8.5 -revision=2 +revision=3 homepage="http://www.rsyslog.com" distfiles="${homepage}/files/download/rsyslog/$pkgname-$version.tar.gz" build_style=gnu_configure