We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ad6142 commit ba5ce7eCopy full SHA for ba5ce7e
scripts/backup.sh
@@ -43,7 +43,14 @@ cleanup_and_restart() {
43
set +e
44
45
rm -rf "$WORKDIR"
46
- docker compose start
+
47
+ if [ -n "${LOKI_URL:-}" ]; then
48
+ echo -e "${B}Restarting services with Loki logging...${DEF}"
49
+ docker compose -f docker-compose.yml -f docker-compose.loki.yml start
50
+ else
51
+ echo -e "${B}Restarting services with default logging...${DEF}"
52
+ docker compose start
53
+ fi
54
55
if [ $rv -ne 0 ]; then
56
echo -e "${R}Unexpected error, exit code: $rv${DEF}"
0 commit comments