2021-05-05 21:03:22 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2022-02-10 20:25:52 +00:00
|
|
|
ABSDIR="$( dirname "$(realpath -s -- "$0")" )"
|
2021-05-05 21:03:22 +00:00
|
|
|
source ${ABSDIR}/../functions.sh
|
|
|
|
source ${ABSDIR}/vars.sh
|
|
|
|
|
|
|
|
ensure_pwd_is_scriptdir
|
|
|
|
ensure_not_root
|
|
|
|
|
2021-06-04 07:40:17 +00:00
|
|
|
echo "Podman images status..."
|
2022-02-10 20:25:52 +00:00
|
|
|
for image in ${upstream_images} ; do
|
|
|
|
podman images ${image} | grep ${image} || echo Image ${image} not found.
|
|
|
|
done
|
2021-06-04 07:40:17 +00:00
|
|
|
echo
|
2021-05-05 21:03:22 +00:00
|
|
|
echo "Checking container status..."
|
2022-02-10 20:25:52 +00:00
|
|
|
podman ps -a | grep ${container_name} || echo container ${container_name} not found.
|
2021-06-04 07:40:17 +00:00
|
|
|
echo
|
2021-05-05 21:03:22 +00:00
|
|
|
echo "Checking systemd unit status..."
|
|
|
|
systemctl --user status ${service_name}
|