From e7811f07969b30b534fbf9be15ed2b6a0d7098c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD?= Date: Sun, 8 Oct 2023 23:39:12 +0600 Subject: [PATCH] Create hugo-update.service --- systemd/hugo-update.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 systemd/hugo-update.service 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