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
Servers for Qt installer are currently down

Linking Qt application with systemd watchdog

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 484 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 28 Apr 2020, 20:38 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

    1/1

    28 Apr 2020, 20:38

    • Login

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