mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 18:03:01 -04:00
9 lines
444 B
Plaintext
Executable File
9 lines
444 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
# shellcheck shell=bash
|
|
|
|
NOTIFY_PUSH_URL=$(echo "$(occ config:system:get overwrite.cli.url)/push")
|
|
echo "**** Setting notify_push server URL to ${NOTIFY_PUSH_URL} ****"
|
|
if ! occ notify_push:setup "${NOTIFY_PUSH_URL}"; then
|
|
echo "**** There was an error setting the notify_push server URL. Please double check your reverse proxy settings as well as the overwrite.cli.url entry in Nextcloud's config.php ****"
|
|
fi
|