Error message when stopping daemon

Ask for help and report issues with the GTK+ version of Transmission
Post Reply
webaake
Posts: 87
Joined: Tue May 15, 2007 8:38 am

Error message when stopping daemon

Post by webaake »

This is from console;

Code: Select all

Stopping bittorrent client transmission-daemon...
start-stop-daemon: warning: this system is not able to track process names
longer than 15 characters, please use --exec instead of --name.
It's Ubuntu 9.10, kernel 2.6.31-22, transmission-daemon 2.22 installed via transmission repo, and the init script from transmission trac (https://trac.transmissionbt.com/wiki/Scripts/initd).

Everything stops ok, but it would be nice to straighten this out.
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: Error message when stopping daemon

Post by gunzip »

based on the warning message you should replace the line in the wiki init script:

Code: Select all

do_stop()
{
.
.
start-stop-daemon --stop --quiet --retry=TERM/10/KILL/5 --pidfile $PIDFILE --name $NAME
.
.
}
with

Code: Select all

do_stop()
{
.
.
start-stop-daemon --stop --quiet --retry=TERM/10/KILL/5 --pidfile $PIDFILE --exec $DAEMON
.
.
}
webaake
Posts: 87
Joined: Tue May 15, 2007 8:38 am

Re: Error message when stopping daemon

Post by webaake »

Great! I'll try that. Thx.
webaake
Posts: 87
Joined: Tue May 15, 2007 8:38 am

Re: Error message when stopping daemon

Post by webaake »

Worked nicely, thank you!
ericalism
Posts: 2
Joined: Tue Dec 20, 2011 2:28 pm

Re: Error message when stopping daemon

Post by ericalism »

yeah,that works perfectly,thanks! :D
Post Reply