summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b51444a..ba3213b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -242,7 +242,9 @@ configure_file(biboumi.h.cmake src/biboumi.h)
if(SYSTEMD_FOUND)
set(SYSTEMD_SERVICE_TYPE "notify")
+ set(WATCHDOG_SEC "20")
else()
set(SYSTEMD_SERVICE_TYPE "simple")
+ set(WATCHDOG_SEC "")
endif()
configure_file(unit/biboumi.service.cmake biboumi.service)