init.js: graceful shutdown of daemons, cfg daemon exit signal