packages: cronie/cron.logrotate, cronie/crond.service, cronie/cronie.spec -...
baggins
baggins at pld-linux.org
Thu Jun 21 08:57:10 CEST 2012
Author: baggins Date: Thu Jun 21 06:57:10 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 20
- use reload in logrotate config for comaptibility with systemd,
as flush-logs is just an alias for reload
- fix reload in systemd service
---- Files affected:
packages/cronie:
cron.logrotate (1.2 -> 1.3) , crond.service (1.1 -> 1.2) , cronie.spec (1.64 -> 1.65)
---- Diffs:
================================================================
Index: packages/cronie/cron.logrotate
diff -u packages/cronie/cron.logrotate:1.2 packages/cronie/cron.logrotate:1.3
--- packages/cronie/cron.logrotate:1.2 Thu Aug 13 12:53:35 2009
+++ packages/cronie/cron.logrotate Thu Jun 21 08:57:05 2012
@@ -1,6 +1,6 @@
/var/log/cron {
create 660 root crontab
postrotate
- /sbin/service crond flush-logs >/dev/null
+ /sbin/service crond reload >/dev/null
endscript
}
================================================================
Index: packages/cronie/crond.service
diff -u packages/cronie/crond.service:1.1 packages/cronie/crond.service:1.2
--- packages/cronie/crond.service:1.1 Fri Dec 2 21:43:45 2011
+++ packages/cronie/crond.service Thu Jun 21 08:57:05 2012
@@ -5,6 +5,7 @@
[Service]
EnvironmentFile=/etc/sysconfig/cron
ExecStart=/usr/sbin/crond -n $CROND_ARGS
+ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
================================================================
Index: packages/cronie/cronie.spec
diff -u packages/cronie/cronie.spec:1.64 packages/cronie/cronie.spec:1.65
--- packages/cronie/cronie.spec:1.64 Tue Apr 17 19:09:33 2012
+++ packages/cronie/cronie.spec Thu Jun 21 08:57:05 2012
@@ -18,7 +18,7 @@
Summary: Cron daemon for executing programs at set times
Name: cronie
Version: 1.4.8
-Release: 19
+Release: 20
License: MIT and BSD and GPL v2
Group: Daemons
Source0: https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz
@@ -262,6 +262,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.65 2012/06/21 06:57:05 baggins
+- rel 20
+- use reload in logrotate config for comaptibility with systemd,
+ as flush-logs is just an alias for reload
+- fix reload in systemd service
+
Revision 1.64 2012/04/17 17:09:33 baggins
- rel 19
- better systemd deps
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/cronie/cron.logrotate?r1=1.2&r2=1.3
http://cvs.pld-linux.org/packages/cronie/crond.service?r1=1.1&r2=1.2
http://cvs.pld-linux.org/packages/cronie/cronie.spec?r1=1.64&r2=1.65
More information about the pld-cvs-commit
mailing list