I created an init script in LSB format, and copied it to the /etc/init.d directory. I can manually start, stop, status the service and all works fine. I then try to set the service to auto stop/start with runlevels by doing:
update-rc.d service defaults
and I see warnings like:
update-rc.d: warning: xxx start runlevel arguments (none) do not match lsb default-Start values (3 4 5).
and initctl list" does not show my service. Is there a step I need to do to make this service register or appear properly? (I know on RedHat it's "chkconfig --add xxx) but I don't know Ubuntu well enough.