From 884e509109212c1f62de0caf6f6ab54630b3b8db Mon Sep 17 00:00:00 2001 From: kha7iq Date: Sat, 17 Apr 2021 03:15:59 +0800 Subject: [PATCH] chor: entrypoint script for docker --- scripts/entrypoint.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/entrypoint.sh diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh new file mode 100755 index 0000000..8152830 --- /dev/null +++ b/scripts/entrypoint.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +[ "$PINGME_USE_SERVICE" ] +: ${PINGME_USE_SERVICE:=""} + +pingme $PINGME_USE_SERVICE \ No newline at end of file