2021-05-05 21:03:22 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
ABSDIR="$( dirname "$(readlink -f -- "$0")" )"
|
|
|
|
source ${ABSDIR}/../functions.sh
|
|
|
|
source ${ABSDIR}/vars.sh
|
|
|
|
|
|
|
|
ensure_pwd_is_scriptdir
|
|
|
|
ensure_not_root
|
|
|
|
|
|
|
|
echo "Checking podman images..."
|
2021-05-09 16:18:28 +00:00
|
|
|
podman images ${upstream_image}
|
2021-05-05 21:03:22 +00:00
|
|
|
echo "Checking container status..."
|
|
|
|
podman ps -a | grep ${container_name}
|
|
|
|
echo "Checking systemd unit status..."
|
|
|
|
systemctl --user status ${service_name}
|