update-public-ip/systemd/install

8 lines
216 B
Bash
Executable File

#!/bin/bash
# install template system space
DIR="$(dirname "$(readlink -f "$0")")"
sudo \cp -f $DIR/update-public-ip@.service /etc/systemd/system
echo "update-public-ip@.service copied to systemd"
. start
. persist