Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jul 2007 16:10:00 +0300
From:      Alexander Motin <mav@freebsd.org>
To:        Gloomy Group <gloomygroup@hotmail.com>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>, mpd-users@lists.sourceforge.net, Julian Elischer <julian@elischer.org>
Subject:   Re: Mpd daemon stop when rotating mpd.log file with newsyslog.conf
Message-ID:  <468F90A8.80705@freebsd.org>
In-Reply-To: <1183807381.00770390.1183795201@10.7.7.3>
References:  <1183800183.00770368.1183787402@10.7.7.3> <1183807381.00770390.1183795201@10.7.7.3>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?468F90A8.80705>