yi-hack-Allwinner-v2
yi-hack-Allwinner-v2 copied to clipboard
Auto Restart rRTSPServer
I have had rRTSPServer die occasionally (not often). But it might be useful to start it in a loop so if it does die it automatically restarts. ...just a minor feature improvement. :)
Thanks for a job well done!
There should already be a watchdog: wd_rtsp.sh Why doesn't it work in your scenario?
Good question. I'll investigate.
On Sat, Nov 20, 2021, 1:55 AM roleo @.***> wrote:
There should already be a watchdog: wd_rtsp.sh Why doesn't it work in your scenario?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/roleoroleo/yi-hack-Allwinner-v2/issues/303#issuecomment-974618259, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFMVIX5RL7VGU4TNGWRN4LUM5O6VANCNFSM5INRAS6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
wd_rtsp.sh was/is not running. I rebooted and it is now running, but it apparently died in addition to rRTSPServer, thus no restart...
I have enabled the wd_rtsp.sh LOG messages. The initial messages from the log are as follows:
2021-11-21 09:29:45 - No running processes, restarting...
2021-11-21 09:29:57 - Detected possible locked process (1)
2021-11-21 09:30:33 - No running processes, restarting...
If/when rRTSPServer is again not running, I will send you the log.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.