From c686cfff8bbecd351ddc9c44724fafc3ac987dc2 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 4 Aug 2020 18:38:30 -0700 Subject: Option to disable health checks --- src/main/java/org/traccar/config/Keys.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main/java/org/traccar/config') diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index 441898feb..fb32857d8 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -423,6 +423,12 @@ public final class Keys { public static final ConfigKey WEB_REQUEST_LOG_RETAIN_DAYS = new ConfigKey( "web.requestLog.retainDays", Integer.class); + /** + * Disable systemd health checks. + */ + public static final ConfigKey WEB_DISABLE_HEALTH_CHECK = new ConfigKey( + "web.disableHealthCheck", Boolean.class); + private Keys() { } -- cgit v1.2.3