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:
parent
4393a35438
commit
8ade60fa3e
1 changed files with 5 additions and 0 deletions
|
@ -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 $@
|
||||
|
|
Loading…
Add table
Reference in a new issue