mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 08:48:27 -04:00
Fixed small mistakes in log messages
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
echo "[mod-swag-auto-uptime-kuma] Installing SWAG auto-uptime-kuma packages"
|
||||
echo "[mod-auto-uptime-kuma] Installing SWAG auto-uptime-kuma packages"
|
||||
|
||||
if ! pip list 2>&1 | grep -q "uptime-kuma-api\|docker"; then
|
||||
echo "\
|
||||
docker \
|
||||
uptime-kuma-api" >> /mod-pip-packages-to-install.list
|
||||
echo "[mod-swag-auto-uptime-kuma] Successfuly installed packages"
|
||||
echo "[mod-auto-uptime-kuma] Successfuly installed packages"
|
||||
else
|
||||
echo "[mod-swag-auto-uptime-kuma] Packages already installed, skipping..."
|
||||
echo "[mod-auto-uptime-kuma] Packages already installed, skipping..."
|
||||
fi
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ -z "$UPTIME_KUMA_URL" ] || [ -z "$UPTIME_KUMA_USERNAME" ] || [ -z "$UPTIME_KUMA_PASSWORD" ]; then
|
||||
echo "[mod-swag-auto-uptime-kuma] Missing required environment variables. Please refer to the Readme, skipping..."
|
||||
echo "[mod-auto-uptime-kuma] Missing required environment variables. Please refer to the Readme, skipping..."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "[mod-swag-auto-uptime-kuma] Executing SWAG auto-uptime-kuma mod"
|
||||
echo "[mod-auto-uptime-kuma] Executing SWAG auto-uptime-kuma mod"
|
||||
|
||||
scriptPath='/app/auto-uptime-kuma.py'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user