❦ 2 juillet 2015 16:12 +0200, Olav Morken <olav.mor...@uninett.no> :
> When haproxy is installed, it adds a file: > > /etc/rsyslog.d/49-haproxy.conf > > This file configures: > * A log socket in the HAProxy chroot > * A separate log file for HAProxy log messages. > > However, after this file is installed, rsyslog is not restarted. The > result is that the log configuration doesn't work until the user > discovers this and manually restarts rsyslog. > > It would be nice if this could be done during package > installation. Maybe something like this in `haproxy.postinst` would > work? > > if [ -x '/etc/init.d/rsyslog' ]; then > invoke-rc.d rsyslog restart > fi I agree that we should signal to rsyslog that there is a new file. However, are we allowed to restart an "unrelated" service? I'll ask the maintainer. -- She is not refined. She is not unrefined. She keeps a parrot. -- Mark Twain
signature.asc
Description: PGP signature