I want to write a script to enable my program on boot automatically. This can be done using SysV Init, Upstart or systemd
. However, I am not able to figure out which init system my Raspbian uses.
Another doubt I have is that, suppose the default init system is upstart, then will a script written and enabled with systemd
work? To rephrase, do we need to write init script in the default init system to make it work?