Thread Previous • Date Previous • Date Next • Thread Next |
On 03/08/12 12:59, Rafał Cieślak wrote:
It goes without saying that it is not very elegant, and requires to remember all the arguments. But there is more, consider how we stop it: killall -9 twistd
Ouch. Don't do that, as you note :)
The daemon is on d-bus, right? Why not expose an "exit" method over D-Bus and have the script call that to stop it? The daemon can just stop the reactor when its exit method is called, and then it'll cleanly exit.Thoughts, ideas? Comments welcome :)
sil
Thread Previous • Date Previous • Date Next • Thread Next |