summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
authorMichal Galka <michal.galka@harman.com>2017-04-06 16:07:31 +0200
committerMichal Galka <michal.galka@harman.com>2017-04-06 16:07:31 +0200
commit0a5e958f9cf44aa0a13a52d1b7045d554abe8b13 (patch)
tree595181ce5fed2c89f21095c406d7626437b42330 /daemons
parent08665f85e9ef1483fa158fec2c68d88c52bc47d8 (diff)
downloadOpen-AVB-0a5e958f9cf44aa0a13a52d1b7045d554abe8b13.tar.gz
Added README_SYETEMD_WATCHDOG.txt file
Diffstat (limited to 'daemons')
-rw-r--r--daemons/gptp/README_SYSTEMD_WATCHDOG.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/daemons/gptp/README_SYSTEMD_WATCHDOG.txt b/daemons/gptp/README_SYSTEMD_WATCHDOG.txt
new file mode 100644
index 00000000..7cf002b8
--- /dev/null
+++ b/daemons/gptp/README_SYSTEMD_WATCHDOG.txt
@@ -0,0 +1,28 @@
+## Introduction
+This readme covers the **optional** feature to update systemd watchdog during gPTP daemon operation.
+System on which the feature will be used must support systemd.
+
+The solution reads WatchdogSec parameter from service configuration file and notifies watchdog
+every 0.5*WatchdogSec that gPTP daemon is alive.
+If there is no watchdog configuration available or WatchdogSec == 0, watchdog notification won't run.
+
+Watchdog configuration is read once during gPTP daemon startup.
+
+
+## Build Related
+
+Systemd watchdog support in gPTP is a build time option.
+
+### Systemd headers and library must be present in the system while building gPTP with this feature enabled.
+
+
+### Building gPTP with Systemd watchdog handling enabled.
+- SYSTEMD_WATCHDOG=1 make gptp
+
+
+## Running
+
+### gPTP
+- Run as normal.
+
+