Files
scripts_serv/start_adguard.sh
T
2026-10-02 22:35:11 +02:00

26 lines
527 B
Bash

#!/bin/bash
# 1. LIST YOUR NAMES HERE
LIST=(
## adguard_stack
"adguard"
"uptime-kuma"
## dozzle
"dozzle_adguard"
"beszel-agent-adguard"
"hawser-adguard"
)
echo "--- Workflow Container Manager ---"
for NAME in "${LIST[@]}"; do
# 'podman start' is safe to run even if the container is already up.
if sudo podman start "$NAME" >/dev/null 2>&1; then
echo "[ UP ] $NAME"
else
echo "[ FAIL ] $NAME (Check 'sudo podman ps -a' to see if it exists)"
fi
done
echo "----------------------------------"