Mpd daemon stop when rotating mpd.log file with newsyslog.conf
Gloomy Group
gloomygroup at hotmail.com
Sun Jul 8 02:20:06 UTC 2007
Thanks to all of you. Keeping "N" option solved.Thanks again.> Date: Sat, 7 Jul 2007 16:10:00 +0300> From: mav at freebsd.org> To: gloomygroup at hotmail.com> CC: freebsd-net at freebsd.org; mpd-users at lists.sourceforge.net; julian at elischer.org> Subject: Re: Mpd daemon stop when rotating mpd.log file with newsyslog.conf> > 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> _______________________________________________> freebsd-net at freebsd.org mailing list> http://lists.freebsd.org/mailman/listinfo/freebsd-net> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
_________________________________________________________________
PC Magazine’s 2007 editors’ choice for best web mail—award-winning Windows Live Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HMWL_mini_pcmag_0707
More information about the freebsd-net
mailing list