Update n8n.sh

fixes https://github.com/tteck/Proxmox/issues/3470
This commit is contained in:
tteckster 2024-08-04 23:21:49 -04:00 committed by GitHub
parent 232919d6be
commit a5fece4292
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,7 @@ if [[ ! -f /etc/systemd/system/n8n.service ]]; then msg_error "No ${APP} Install
fi fi
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP} LXC"
npm update -g n8n &>/dev/null npm update -g n8n &>/dev/null
systemctl restart n8n
msg_ok "Updated Successfully" msg_ok "Updated Successfully"
exit exit
} }