diff --git a/conf/ntfy.sh b/conf/ntfy.sh index c373d33..260c45b 100755 --- a/conf/ntfy.sh +++ b/conf/ntfy.sh @@ -2,4 +2,9 @@ HOME=__INSTALL_DIR__ +if [ ! -f "$HOME/data/user.db" ]; then + echo "Waiting for server to start" + sleep 2 +fi + NTFY_CONFIG_FILE="$HOME/server.yml" $HOME/ntfy $@