#!/bin/bash CONF=$1 sudo journalctl --unit=update-public-ip@$CONF.service -n 50 --no-pager exit 1