I was pretty surprised this morning when after an automatic update of the
openhab2 package I couldn’t find /etc/init.d/openhab2 any more.
Apart from the fact that I would have expected better notice about
this fact I also saw that still broken links exist under /etc/rc0.d, /etc/rc1.d etc.
Shouldn’t those also have been removed by the update?
The install scripts would have only removed it if detected that OS uses systemd as an init system. The change was made mainly due to new operating systems no longer including the compatability layer between systemd and sysVinit, and thus erroring out if /etc/init.d/openhab2 exists. Admittedly, I hadn’t taken into account that people might still try to use sysVinit intentionally.
Out of interest, is there any particular reason you’d prefer to stay on sysVinit?
The system (Debian 10) has started out as Debian 9, 8 or even 7 (cannot recall exactly)
and was just continuously upgraded. Don’t know if Debian has removed
sysVinit compatibility but even if they did they have not removed it from
upgraded systems. I neither had any good reason to do it manually.