Linking Qt application with systemd watchdog
Unsolved
Mobile and Embedded
-
wrote on 28 Apr 2020, 20:38 last edited by
I am developing a QT application on embedded linux platform. I start my application using a bash script.
I am calling this bash script as a part of service as shown below.[Unit] Description=AutoStart App [Service] Type=simple ExecStartPre=/home/root/Startup_scripts/Clean_Application.sh ExecStart=/home/root/Startup_scripts/Startup_Script.sh WatchdogSecs=10min NotifyAccess=all Restart=always StartLimitInterval=5min StartLimitBurst=4 StartLimitAction=reboot-force [Install] WantedBy=multi-user.target
I want reset the watchdog timer but I am unable to do so.
I have tried using systemd-notify to reset the timer. But I am unable to do so.
has anyone tried linking their qt application to linux watchdog?
1/1