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