root@testcoin:~# root@testcoin:~# sudo service forknote-testcoin-daemon start
root@testcoin:~#: command not found
root@testcoin:~# Failed to start forknote-testcoin-daemon.service: Unit forknote-testcoin-daemon.service not found.
Stop copy and pasting the above lines. This extra error is unnecessary and confuses people. It is just a result of your copy and pasting your terminal from the original command and it's output.
Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-36-generic x86_64)
There's your problem. Ubuntu 14.10+ stopped using Upstart, it uses systemd now. The guide you were following used 14.04 and thus Upstart.
Create a file called
forknote-testcoin-daemon.service in /etc/systemd/system. Put in that file the following:
[Unit]
Description=Forknote Testcoin Daemon
[Service]
Type=simple
ExecStart=sudo -u fork /home/fork/forknote-linux/forknoted --no-console --config-file /home/fork/forknote-linux/configs/fakecoin.conf
ExecStopPost=sleep 30
Restart=on-failure
RestartSec=30
[Install]
WantedBy=multi-user.target
Then run
systemctl start forknote-testcoin-daemon
If this fixes your issue, send the bounty to 16mT7jrpkjnJBD7a3TM2awyxHub58H6r6Z