feat: add info_print flag

This commit is contained in:
2025-09-08 18:11:51 +00:00
parent 040f050d98
commit efc3065b55
7 changed files with 41 additions and 28 deletions

View File

@@ -19,7 +19,7 @@ if [[ "--install" == $INSTALLED ]]; then
source /etc/serverconfig/.env
if [[ -f "$ETC_DIR/docker-compose.yml" ]]; then
docker compose -f "$ETC_DIR/docker-compose.yml" up -d --force-recreate && \
docker compose -f "$ETC_DIR/docker-compose.yml" up -d --force-recreate --remove-orphans && \
info_print "$ETC_DIR/docker-compose.yml is running." 6;
else info_print "no docker-compose.yml found at $ETC_DIR" 3;