update-public-ip/systemd/log

5 lines
98 B
Bash
Executable File

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