Running miner as invisible service
Hello,

I'm trying to run this as part of a headless Debian setup. This requires to run this without any console interfaces or the like.

My "setup" is one bash script that invokes the miner:
```
#!/bin/bash

cd /root/coinhive/ && coin-hive <SITE_KEY> --threads 1 > miner.log
```

If I run the miner from command line it works fine. However, as soon as I try to start it as a service or background process, the miner terminates.


So far, I've tried:

1)
`nohup /root/coinhive/miner &`
Resulting in 
```
TypeError: process.stdin.setRawMode is not a function
    at Object.<anonymous> (/usr/lib/node_modules/coin-hive/bin/coin-hive:182:15)
    at Module._compile (module.js:624:30)
    at Object.Module._extensions..js (module.js:635:10)
    at Module.load (module.js:545:32)
    at tryModuleLoad (module.js:508:12)
    at Function.Module._load (module.js:500:3)
    at Function.Module.runMain (module.js:665:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3
```

2)
```
/root/coinhive/miner &
bg
disown
``` 
Resulting in:
Process starts in background, but halts/terminates as soon as I hit disown.

3) 
Crontab:
`@reboot /root/coinhive/miner &`
Resulting in:
Miner not starting at all.

4)
`Ctrl + Z` doesn't respond at all.

It seems to me that for the miner to work, there has to be some sort of terminal or window active. Please advise.