|
#!/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
|