[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#522035: mldonkey-server: No log messages written to either /var/log or syslog




Dmitry Maksyoma wrote:
> 
> Hi Mehdi,
> 
> Doesn't work for me, mlnet still doesn't have log file open. I'm
> attaching my /etc/init.d/mldonkey-server script.
> 

You're correct. It doesn't work for 2.9.5 but it's fixed in 3.0.0.
So, you can do this instead (tested using the lenny package):

	start-stop-daemon --start $WRAPPER_OPTIONS \
	--pidfile $PIDFILE --background --exec $EXEC \
	-- -log_to_syslog true -pid $PIDDIR

Logs can be found then in /var/log/syslog

-- 
Mehdi Dogguy مهدي الدقي
http://www.pps.jussieu.fr/~dogguy
Tel.: (+33).1.44.27.28.38



Reply to: