Add update path to Gotify LXC

This commit is contained in:
Håvard Thom 2024-10-27 17:47:07 +01:00
parent 399786c5bd
commit 101c83979d
2 changed files with 27 additions and 2 deletions

View file

@ -27,7 +27,10 @@ wget -q https://github.com/gotify/server/releases/download/v${RELEASE}/gotify-li
$STD unzip gotify-linux-amd64.zip
rm -rf gotify-linux-amd64.zip
chmod +x gotify-linux-amd64
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Installed Gotify"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/gotify.service
[Unit]
Description=Gotify
@ -46,7 +49,7 @@ RestartSec=3
WantedBy=multi-user.target
EOF
systemctl enable -q --now gotify
msg_ok "Installed Gotify"
msg_ok "Created Service"
motd_ssh
customize