Please provide complete information as applicable to your setup.
**• Hardware Platform (Jetson / GPU) Nvidia Xavier Developer Kit
**• DeepStream Version 6.0
**• JetPack Version (valid for Jetson only) R32, Revision 6.1
**• NVIDIA GPU Driver Version (valid for GPU only) 10.2
I am trying to run deepstream-app at reboot of Xavier device.
My rc.local file inside /etc/rc.local is
#!/bin/sh -e
sleep 60
cd /opt/nvidia/deepstream/deepstream-6.0/sources/apps/sample_apps/deepstream-app
./deepstream-app -c ../../../../samples/configs/deepstream-app/stluke_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8_record.txt
exit 0
But it doesn’t run on reboot.
I’d suggest using systemd approach, check out my approach .
fanzh
April 27, 2022, 1:45am
4
what does “But it doesn’t run on reboot.” mean? the app crashed? is there any terminal log?
Have you considered using docker? It serves the purpose that you’re looking for.
If not, you can even use PM2.
Both of these are process managers that have the capability to restart the service on reboot.
No terminal log.
Any other way you recommend?
I used crontab, it works but the program stops after running.
fanzh
April 27, 2022, 5:56am
8
1 please refer to this method: Why Kafka broker doesn't always detect that the server is down? - #7 by dmitry.skorokhod
2 or to narrow down the issue, you can redirect its output to file, like this :
./bin/app -c config/app.cfg >> log 2>&1
system
Closed
May 17, 2022, 3:29am
10
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.