start-stop-daemon
start-stop-daemon copied to clipboard
Only exit once application is up and running
It would be useful if (perhaps optionally?) running node daemon.js start
would not exit until the app is truly up and running -- perhaps by listening for an event or callback. I need to wait until this point before running some other processes, and using a delay for this is asking for trouble. Any ideas?