Page 1 of 1

Option to exit cleanly in command line

Posted: Sun Dec 13, 2009 7:57 pm
by Lenezir
Hello. :D
I am writing a script in bash and I use the command "killall -9 deluge deluged" to close the program, only it's very bad for the torrents.
Could you implement an option to Deluge so you can close it with a command like "deluge -q" ?
This would be very usefull !
Thanks. :)

Re: Option to exit cleanly in command line

Posted: Sun Dec 13, 2009 10:59 pm
by andar
Send the TERM signal to the process instead of KILL. Deluge handles the TERM signal by shutting down gracefully.

Re: Option to exit cleanly in command line

Posted: Mon Dec 14, 2009 10:38 am
by Lenezir
Thanks andar. :D