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.