diff --git a/lsyncd.logrotate b/lsyncd.logrotate index c67f2ee..0b74328 100644 --- a/lsyncd.logrotate +++ b/lsyncd.logrotate @@ -2,9 +2,4 @@ missingok notifempty sharedscripts - postrotate - if [ -f /var/lock/lsyncd ]; then - /sbin/service lsyncd restart > /dev/null 2>/dev/null || true - fi - endscript } diff --git a/lsyncd.spec b/lsyncd.spec index 7b6d6d3..f580291 100644 --- a/lsyncd.spec +++ b/lsyncd.spec @@ -1,6 +1,6 @@ Name: lsyncd Version: 2.1.5 -Release: 6%{?dist} +Release: 7%{?dist} Summary: File change monitoring and synchronization daemon Group: Applications/Internet License: GPLv2+ @@ -78,6 +78,9 @@ install -p -D -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/ %changelog +* Tue Nov 18 2014 Lubomir Rintel - 2.1.5-7 +- Remove unnecessary service restart in logrotate (Troy C., #915873) + * Tue Nov 18 2014 Lubomir Rintel - 2.1.5-6 - Fix bad shell argument escaping