update-public-ip/systemd/stop
David Kebler ba0f05436c added in systemd unit and scripts
added in APP_INSTANCE for custom start includine debug
first basic working version that has been deployed
2020-10-13 08:30:34 -07:00

10 lines
272 B
Bash
Executable file

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