Problem with starting my program automatically after system startup

H/W : Jetson Nano
DeepStream Version : 5.1
JetPack Version : 4.5.1


To automatically start my program after system startup, I added the following command line to the end of the /etc/systemd/nv.sh file.

INSTALL_DOWNSTREAM_WESTON=“1”
if [ “${INSTALL_DOWNSTREAM_WESTON}” -eq “1” ]; then

fi

/home/my/myappexe -c myconfig.txt <— my nano app
or
/home/my/myappexe -c /home/my/myconfig.txt

After rebooting, I checked with the ps -al command, but myappexe does not appear.
However, if I run it directly from the terminal, it runs without problems.
someone please help

I followed these guidelines

Hi,
Please try to add rc.local service:
omxh264enc and nvvidconv NOT working unless... - #22 by DaneLLL

hello.
If so, the content in the link below seems to be the same problem as mine.
Does that mean adding the command line to /etc/systemd/nv.sh doesn’t work?

Hi,
The script nv.sh is for launching L4T services. Certain services may work by adding to the script. But certain services may not work properly. Would suggest try to create your own service launcher.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.