From 3f65139b2825e654dd0cc36d1cee055b7ac959d9 Mon Sep 17 00:00:00 2001 From: Christian Mueller Date: Mon, 21 May 2012 19:00:35 +0200 Subject: * [GAM-24] Watchdog concept for the AudioManager. This patch introduces the watchdog functionality of the AudioManager. The function is based on the systemd watchdog functionality. The desired time intervals for checking the watchdog can be tweaked by the unit file for systemd. A sample unit file is added to the subdirectory cmake. Via Cmake build option, the watchdog functionality can be switched off. If the development package from systemd is available it will use the lib that comes with it. If not, the default handler will be compiled along with the audiomanager and this one will be used. Signed-off-by: Christian Mueller --- cmake/config.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake/config.cmake') diff --git a/cmake/config.cmake b/cmake/config.cmake index c492276..4e65e3d 100644 --- a/cmake/config.cmake +++ b/cmake/config.cmake @@ -7,6 +7,8 @@ #cmakedefine WITH_DLT #cmakedefine WITH_TELNET #cmakedefine GLIB_DBUS_TYPES_TOLERANT +#cmakedefine WITH_SYSTEMD_WATCHDOG +#cmakedefine SYSTEMD_FOUND #cmakedefine DEFAULT_PLUGIN_COMMAND_DIR "@DEFAULT_PLUGIN_COMMAND_DIR@" #cmakedefine DEFAULT_PLUGIN_ROUTING_DIR "@DEFAULT_PLUGIN_ROUTING_DIR@" -- cgit v1.2.1