So I have a daemon in /etc/init.d/ called TEST and it runs just fine if I run the command service TEST start. However I want it to start on startup so I looked into How can I configure a service to run at startup and when I run the command sudo update-rc.d TEST defaults it gives no output or errors so I assumed it worked correctly, however if I ever restart my pc it shows that the service TEST isn't running. I am running Ubuntu 17.04.
When I do the command sudo update-rc.d TEST enable I get the error:
update-rc.d: error: TEST Default-Start contains no runlevels, aborting.
Thank you for any help.
update-rc.drather thansystemd? – George Udosen Jul 26 '17 at 23:31systemdcame out. If you find systemd too complicated and prefercronthese decade old instructions still work for starting daemons: http://www.somacon.com/p38.php – WinEunuuchs2Unix Jul 27 '17 at 00:43