16 lines
382 B
Bash
16 lines
382 B
Bash
|
#!/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..."
|
||
|
podman images ${image_name}
|
||
|
echo "Checking container status..."
|
||
|
podman ps -a | grep ${container_name}
|
||
|
echo "Checking systemd unit status..."
|
||
|
systemctl --user status ${service_name}
|