Closed dwrobel closed 4 years ago
Thanks for flagging this up. I'll have a look to see what's causing it.
It should not need to depend on the compatability layer. It looks like it's finding the scripts in init.d before it finds the service file.
Does using systemctl enable openhab2.service
(without chkconfig) behave any differently?
Does using systemctl enable openhab2.service (without chkconfig) behave any differently?
It does not. I can confirm that the issue is resolved if you delete /etc/init.d/openhab2
. So this issue is related to https://github.com/openhab/openhab-linuxpkg/issues/134 and we should do this automatically if systemd is present.
Enabling
openhab2
on a fresh installation ofFedoraServer 31
fails as follows:As a workaround one could add
chkconfig
package:However, I would be nice not to depend on that compatibility layer.