Hello,
We are using a systemd service that starts an ISP-based video pipeline. The script looks like this:
[Unit] Description=My user application Requires=imx8-isp.service After=imx8-isp.service StartLimitIntervalSec=300 StartLimitBurst=3 [Service] ExecStartPre=/bin/sleep 10 ExecStart=/usr/bin/run-my-qt-app.sh Restart=always [Install] WantedBy=multi-user.target
We would now like to get rid of the "sleep 10" command, which was added because the isp.service does not communicate its "readiness" to systemd.
This is because the isp daemon (isp_media_server) is blocking.
One idea would be to replace the "sleep 10" command with a "isp_media_server" process check script that regularly checks for the existence of the process. However, in my opinion this is not the best way to do it.
Do you have any feedback on this?
Thank you very much,
Hello,
The issue is because the ISP requieres at least 10msec to enable, i guess if you want faster you can avoid other peripherals.
Regards