Is there any chance for a yocto bitbake convenience feature similar to systemd:
inherit systemd
SYSTEMD_AUTO_ENABLE:${PN} = “enable”
SYSTEMD_SERVICE:${PN} = “blah.service” # and so on
Is it the current best practice that you should install your monitor.sh to /etc/mender-monitor/monitor.d/available and then install a symlink to /etc/mender-monitor/monitor.d/enabled?