1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ntfy_ynh.git synced 2024-09-03 19:46:27 +02:00

Add a wait period in ntfy.sh wrapper script

This commit is contained in:
Alexander Wühr 2023-12-13 10:42:41 +01:00
parent 4393a35438
commit 8ade60fa3e
No known key found for this signature in database
GPG key ID: 0B7107C9393169F4

View file

@ -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 $@