MXS-2057 systemd watchdog
Systemd wathdog notification at a little more than 2/3 of the systemd configured time. In the service config (maxscale.service) add e.g. WatchdogSec=30s to set and enable the watchdog. For building: install libsystemd-dev. The next commit will modify cmake configuration and code to conditionally compile the new code based on existence of libsystemd-dev.
This commit is contained in:
@ -15,5 +15,9 @@ add_library(maxbase STATIC
|
||||
average.cc
|
||||
)
|
||||
|
||||
target_link_libraries(maxbase
|
||||
systemd
|
||||
)
|
||||
|
||||
set_target_properties(maxbase PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
||||
add_subdirectory(test)
|
||||
|
Reference in New Issue
Block a user