aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-08-04 18:38:30 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-08-04 18:38:30 -0700
commitc686cfff8bbecd351ddc9c44724fafc3ac987dc2 (patch)
treeb0b6b29dc6f57a9658c5e21ae9164ecea8b28dc1 /src/main/java/org/traccar/config
parent18eea3995305cab6dab641f7d3dfd11b9a5433be (diff)
downloadtrackermap-server-c686cfff8bbecd351ddc9c44724fafc3ac987dc2.tar.gz
trackermap-server-c686cfff8bbecd351ddc9c44724fafc3ac987dc2.tar.bz2
trackermap-server-c686cfff8bbecd351ddc9c44724fafc3ac987dc2.zip
Option to disable health checks
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java6
1 files changed, 6 insertions, 0 deletions
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() {
}