2021-06-04 17:36:50 +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 "Podman images status..."
|
|
|
|
for image in ${upstream_images} ; do
|
|
|
|
podman images ${image} | grep ${image} || echo Image ${image} not found.
|
|
|
|
done
|
|
|
|
echo
|
|
|
|
echo "Checking pod status..."
|
|
|
|
podman pod ps | grep ${pod_name} || echo Pod ${pod_name} not found.
|
|
|
|
echo
|
|
|
|
echo "Checking systemd unit status..."
|
2021-06-06 13:24:51 +00:00
|
|
|
systemctl --user status ${service_name}
|