- use reload in logrotate config for comaptibility with systemd,
as flush-logs is just an alias for reload
- fix reload in systemd service
Changed files:
cron.logrotate -> 1.3
crond.service -> 1.2
cronie.spec -> 1.65
/var/log/cron {
create 660 root crontab
postrotate
- /sbin/service crond flush-logs >/dev/null
+ /sbin/service crond reload >/dev/null
endscript
}
[Service]
EnvironmentFile=/etc/sysconfig/cron
ExecStart=/usr/sbin/crond -n $CROND_ARGS
+ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
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