mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-24 16:36:51 +00:00
ntofiy-push - improve healthcheck
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
f17c2f5c1c
commit
60a692ae46
2 changed files with 9 additions and 1 deletions
7
Containers/notify-push/healthcheck.sh
Normal file
7
Containers/notify-push/healthcheck.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
if ! nc -z "$NEXTCLOUD_HOST" 9000; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
nc -z localhost 7867 || exit 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue