diff --git a/podman-peerjs/40_stop.sh b/podman-peerjs/40_stop.sh index 9fc7ef5..800591d 100755 --- a/podman-peerjs/40_stop.sh +++ b/podman-peerjs/40_stop.sh @@ -13,7 +13,7 @@ ensure_container_exists ${container_name} if check_systemd_unit_exists ${service_name}; then if check_systemd_unit_running ${service_name}; then systemctl --user stop ${service_name} && - echo Systemd service ${service_name} stopped + echo Systemd service ${service_name} stopped. fi fi @@ -23,6 +23,6 @@ if check_container_running ${container_name}; then podman stop ${container_name} exit 0 else - echo Container ${container_name} is not running + echo Container ${container_name} is not running. exit 1 fi diff --git a/podman-peerjs/50_update.sh b/podman-peerjs/50_update.sh index 39c9d3b..9d1641b 100755 --- a/podman-peerjs/50_update.sh +++ b/podman-peerjs/50_update.sh @@ -13,10 +13,10 @@ upstream_imageversion=${upstream_image}:${upstream_version} current_imageversion=$(podman container inspect -f '{{.ImageName}}' ${container_name}) if [[ "${upstream_imageversion}" == "${current_imageversion}" ]] ; then - echo Container ${container_name} does not needs rebuilding. Exiting + echo Container ${container_name} does not need rebuilding. Exiting. exit 0 else - echo Rebuilding container ${container_name}. + echo Rebuilding container ${container_name} with image ${upstream_imageversion} fi # pull first for minimal downtime