I tried to use `nohup` and `start-stop-daemon -Svbx` but in first case daemon falls with "Failed to read line. Stopping...", and in second daemon don't starts.
I found this quick guide from a Monero guy handy.
It references monero but all cn is just a replace coinname and it's good for that.
https://bitcointalksearch.org/topic/digital-ocean-monero-pool-mining-guide-cpu-only-mro-cryptonight-algo-612795
Daemon starts with nothing more than ./bytecoind and then do a ctl-a & d to detach from the terminal. Handy if you are ssh-ing into your ubuntu box and want to close the sesion.