This needs a further tweak.
# service rsyslog reload
Usage: /etc/init.d/rsyslog {start|stop|rotate|restart|force-reload|status}
# zcat /usr/share/doc/rsyslog/NEWS.Debian.gz
rsyslog (5.8.1-1) unstable; urgency=low
The way rsyslog processes SIGHUP has changed. It no longer does a reload
of its configuration, but simply closes all open files, which is a much more
lightweight operation.
To apply a changed configuration, rsyslogd needs to be restarted now.
As a consequence, the reload action has been dropped from the init script.
A new action called "rotate" was added to the init script, which signals
rsyslogd to close all open files. This new action is used in the rsyslog
logrotate configuration file.
For more information, see:
http://www.rsyslog.com/doc/v4compatibility.html
http://www.rsyslog.com/doc/v5compatibility.html
-- Michael Biebl <[email protected]> Mon, 30 May 2011 18:26:51 +0200
# service rsyslog rotate
* Closing open files rsyslogd [ OK ]
See also https://bugs.debian.org/626365. The right action is ‘service
rsyslog rotate’, not reload. Sorry for not catching that earlier.
** Bug watch added: Debian Bug tracker #626365
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626365
** Changed in: rsyslog (Ubuntu)
Status: Fix Released => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1331891
Title:
[systemd] /etc/logrotate.d/rsyslog fails to reload rsyslog
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/1331891/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs