update-public-ip/systemd/stop

11 lines
272 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
CONF=$1
if [ -z "$CONF" ];
then
echo missing configuration argument, aborting
exit 1
fi
sudo systemctl stop update-public-ip@$CONF
sudo systemctl status update-public-ip@$CONF
sudo journalctl --unit=update-public-ip@$CONF.service -n 100 --no-pager