Add update path to Gotify LXC (#3989)

This commit is contained in:
Håvard Gjøby Thom 2024-10-27 18:29:28 +01:00 committed by GitHub
parent 399786c5bd
commit 77b06ee3f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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