Add healthcheck.sh for container health monitoring
This commit is contained in:
1 parent
dd2e45c41f
commit
cdd3810bd4
1 file changed
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if pgrep -f 'WindroseServer-Win64-Shipping.exe' >/dev/null 2>&1; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
||||
Reference in new issue
Block a user