diff --git a/systemd/hugo-update.service b/systemd/hugo-update.service new file mode 100644 index 0000000..96cd1e0 --- /dev/null +++ b/systemd/hugo-update.service @@ -0,0 +1,11 @@ +[Unit] +Description=HUGO Update Service + +[Service] +Type=oneshot +User=caddy +Group=caddy +ExecStart=/usr/local/bin/hugo-update.sh + +[Install] +WantedBy=multi-user.target