This repository has been archived on 2023-06-17. You can view files and clone it, but cannot push or open issues or pull requests.
unifiedpush-gotify/entrypoint.sh

11 lines
220 B
Bash
Raw Permalink Normal View History

2021-02-23 21:57:36 +00:00
#!/bin/bash
if [[ -z "${GOTIFY_URL}" ]]; then
echo "Please set GOTIFY_URL to your gotify instance."
exit 1
fi
envsubst '${RESOLVER} ${GOTIFY_URL}' < /nginx.conf.template > /etc/nginx/conf.d/default.conf
exec "$@"