I added my application to the yocto image as a service.
All is fine, but after loading the image to the SOM, on the initial startup, service is disabled.
systemctl status <app_name> gives the following error:
Loaded: loaded (/etc/systemd/system/<app_name>.service; disabled; vendor preset: disabled)
Active: inactive (dead)
using systemctl enable <app_name> enables the service and from that point on, the service loads automatically on startup.
How do I bypass this vendor limitation and allow for the service to be enabled by default ?
I already tried adding to my bb file SYSTEMD_AUTO_ENABLE = "enable"
but the issue persists.
I'm using Yocto Kirkstone on VAR-SOM-MX8M-PLUS
Thanks,
Shay