mirror of
https://github.com/YunoHost-Apps/ntfy_ynh.git
synced 2024-09-03 19:46:27 +02:00
eb07615fa9
Co-authored-by: Alexander Wühr <alex@pnyhf.eu> Co-authored-by: Salamandar <6552989+Salamandar@users.noreply.github.com>
10 lines
177 B
Bash
Executable file
10 lines
177 B
Bash
Executable file
#!/bin/sh
|
|
|
|
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 $@
|