When I tried the above resolution, I got “bad-setting (Reason: Unit .service has a bad unit file setting)” error. The post is more than 7 years old. How do I make my application to start automatically on boot up? The application is stored at /opt/Phoenix/bin/Phoenix on my target device.
Hardware: Boot2Qt 6.2.1 Toradex Verdin-iMX8MP
Operating System Information:
ID=b2qt
NAME=“Boot to Qt for Embedded Linux”
VERSION=“3.3.3 (hardknott)”
VERSION_ID=3.3.3
PRETTY_NAME=“Boot to Qt for Embedded Linux 3.3.3 (hardknott)”
Attached the .service file. The screen shot shows the error I encountered. I have now (since I submitted the query) edited an existing b2qt.service file instead of creating my own .service file. That is why you dont see the bad-setting error anymore. I am using “b2qt-embedded-qt6-image-verdin-imx8mp.tezi.tar” given by toradex .