sd_notify for systemd watchdog lazarus / 32-Linux ---------------------------------------------------------------------- TheMouseAUS · 2024-12-29 00:59 How can I easily call sd_notify (specifically watchdog=1) from a command line app I have created. I am wanting systemd to restart the app if the watchdog stops  responding for some reason. Thanks in advance :-) ---------------------------------------------------------------------- dsiders · 2024-12-29 01:16 Quote from: TheMouseAUS on December 29, 2024, 01:59:12 amHow can I easily call sd_notify (specifically watchdog=1) from a command line app I have created. I am wanting systemd to restart the app if the watchdog stops  responding for some reason. Thanks in advance :-) systemd-notify --help Might need sudo. ---------------------------------------------------------------------- TheMouseAUS · 2024-12-29 02:03 so i run it as an external app? ---------------------------------------------------------------------- dsiders · 2024-12-29 02:28 Quote from: TheMouseAUS on December 29, 2024, 03:03:00 amso i run it as an external app? You can use TProcess to run it. I'm not aware of na FPC interface to the library code... but there's a lot I don't know.