26 lines
571 B
Bash
26 lines
571 B
Bash
#!/bin/bash
|
|
|
|
# 1. LIST YOUR NAMES HERE
|
|
LIST=(
|
|
# security_stack
|
|
"authentik_db"
|
|
"authentik_redis"
|
|
"authentik_server"
|
|
"authentik_worker"
|
|
# "authentik_outpost_servarr"
|
|
# "authentik_outpost_second"
|
|
)
|
|
|
|
echo "--- Workflow Container Manager ---"
|
|
|
|
for NAME in "${LIST[@]}"; do
|
|
# 'podman start' is safe to aalhkrun 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 "----------------------------------"
|