I have built a custom colibri-imx6 console image.
I would like to have my helloworld program to autostart as a service. I followed this procedure for creating a simple service. How to autorun application at startup - Toradex Community
When I deploy the new custom image the autostartup.service file does not automatically start; but the file exits in /etc/systemd/system.
root@colibri-imx6:~# systemctl status autostartup.service
● autostartup.service - My autostartup service
Loaded: loaded (/etc/systemd/system/autostartup.service; disabled; vendor preset: enabled)
Active: inactive (dead)
How would I deploy this service during image creation so I can have the service enable and automatically start without any running any manual commands?
Look forward to hearing from you.