Option to exit cleanly in command line

Suggestions and discussion of future versions
Post Reply
Lenezir

Option to exit cleanly in command line

Post 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. :)
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Option to exit cleanly in command line

Post by andar »

Send the TERM signal to the process instead of KILL. Deluge handles the TERM signal by shutting down gracefully.
Lenezir

Re: Option to exit cleanly in command line

Post by Lenezir »

Thanks andar. :D
Post Reply