Mpd daemon stop when rotating mpd.log file with newsyslog.conf

Alexander Motin mav at freebsd.org
Sat Jul 7 13:10:08 UTC 2007


Julian Elischer wrote:
>> Hello all, I have installed mpd4.2.2 in freebsd 6.2. Everything is
>> working fine except when I make an entry in newsyslog.conf for
>> rotating mpd.log file the mpd daemon process stops. and I have to
>> restart the process again manually. Any one knows what wrong? Below
>> is the newsyslog.conf
> 
> /var/log/mpd.log 664 7 10900 * JC /var/run/mpd4.pid
> 
> try add the 'N' option.
> I don't  know if mpd needs to be signalled if its log file is changed..

Mpd does not write logs by itself, it uses syslog. So it needs not to be 
signalled. Mpd shutdowns itself on HUP signal.

-- 
Alexander Motin


More information about the freebsd-net mailing list