Am 11.05.2011 13:50, schrieb Michael Biebl:
>> Please supply a ExecReload line in the systemd unit file. I use this locally
>> and it works just fine
>>
>> ExecReload=/bin/kill -HUP $MAINPID
>>
> 
> See:
> http://git.adiscon.com/?p=rsyslog.git;a=commit;h=da75472096c45dd136d41c6e9ad7bf740069d3a1
> 
> 
> which was later reverted:
> http://git.adiscon.com/?p=rsyslog.git;a=commit;h=fd26a42bdc04eaf497cafd9ef806a54f3de1a7e9
> 

See also
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580897
and
http://www.rsyslog.com/doc/v5compatibility.html

$HUPIsRestart has been dropped from v5, i.e. a SIGHUP does no longer reload the
configuration, but only closes the output files.

I will most likely also drop "reload" from the sysv init script (or map it to
restart) and change /etc/logrotate.d/rsyslog to use something like

postrotate
    kill -SIGHUP $(cat /var/run/rsyslogd.pid)
endscript

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to