This is where I noted some things when I working with Operating Systems, Virtualization, Containers, Databases, Programming Languages, Frameworks, and Development Tools to reuse and for time-saving later.
$ sudo chmod +x /etc/init.d/myscript.sh
$ sudo update-rc.d myscript.sh defaults