mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Add update path to Gotify LXC (#3989)
This commit is contained in:
parent
399786c5bd
commit
77b06ee3f9
2 changed files with 27 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue