Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Linking Qt application with systemd watchdog
Forum Updated to NodeBB v4.3 + New Features

Linking Qt application with systemd watchdog

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 493 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    eluppai
    wrote on last edited by
    #1

    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 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved