services-garbaye/podman-peerjs/00_status.sh

16 lines
386 B
Bash
Raw Normal View History

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..."
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}