Service script doesnt work for first boot after some time

I wrote a service script that captures video from a camera and saves it when jetson boots. Everytime I power on the jetson for the first time (after a day or so), the service script doesnt run, its shown as inactive. After that everytime i restart the script works fine.

One possible cause is that the script is run before some services. Would suggest run it after nvpower(or nvpmodel) and nvargus-daemon services.

FYR, there are posts about running commands at startup:

Jetson AGX Orin FAQ
Q: How to autorun an app or commands at startup?

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