logrotate file fails on all but sysvinit

Bug #1464745 reported by Cameron Norman on 2015-06-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rsyslog (Ubuntu)

Bug Description

The logrotate file supplied can not work with Upstart or systemd because it calls `service rsyslog rotate` -- neither support custom actions. Instead a custom script to send SIGHUP to rsyslog depending on the init system should be used. It can just use

* `initctl reload rsyslog` with Upstart
* `systemctl kill --signal=SIGHUP --kill-who=main rsyslog.service` with systemd
* `/etc/init.d/rsyslog rotate` with sysvinit

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers