main + daemon signal handlers
Juan Batiz-Benet authored
This commit changes the signal handler to be added once
the command is executing. this is because the daemon
has its own signal handler, that must try to shut down
the node gracefully first. You know, just in case.
705465db