Skip to content

Commit 79fafe0

Browse files
authored
feat: add healthcheck initialized check (#12)
Add a new check in the healthcheck to be sure that the sybase server is ready
1 parent d503ce7 commit 79fafe0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

healthcheck.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
#!/bin/sh
2-
netstat -ltn | grep 5000 || exit 1
2+
netstat -ltn | grep 5000 || exit 1
3+
4+
if [[ ! -f "/.initialized" ]]; then exit 1; fi

0 commit comments

Comments
 (0)