summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2017-10-17 12:03:49 -0400
committerMichael Hwang <mhwang@research.att.com>2017-10-17 12:05:58 -0400
commit3be31336e2324772c13856da50f4ffd610f4e3cc (patch)
tree58b07d945ae84498d2adf677102e5ccce6d2839d /resources
parent366286371bfa76884b163e84928c31d6a4776439 (diff)
Add health check script
Change-Id: I0e51de51b4c205b60e5dc8286be8bc4217e5d5db Issue-Id: DCAEGEN2-142 Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'resources')
-rwxr-xr-xresources/health.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/health.sh b/resources/health.sh
new file mode 100755
index 0000000..5fe8236
--- /dev/null
+++ b/resources/health.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Health check script for service change handler
+
+# Currently, the simple existence of the running container is assumed to indicate
+# health. A better possible health check is if the distribution client provided a
+# health check call.
+
+exit 0