Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Linking Qt application with systemd watchdog



  • 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?


Log in to reply