uci-hugo/systemd/install

7 lines
220 B
Bash
Executable File

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