diff --git a/rsyslog.log b/rsyslog.log index e4b15af..b101e32 100644 --- a/rsyslog.log +++ b/rsyslog.log @@ -7,6 +7,6 @@ missingok sharedscripts postrotate - /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true + /usr/bin/systemctl kill -s HUP rsyslog.service >/dev/null 2>&1 || true endscript } diff --git a/rsyslog.spec b/rsyslog.spec index e7b0114..17c02ab 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -506,6 +506,8 @@ done resolves: rhbz#1205889 - set the default service umask to 0066 resolves: rhbz#1228192 +- use systemctl for sending SIGHUP to the service + related: rhbz#1224972 * Thu Jun 18 2015 Fedora Release Engineering - 8.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild