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