From 32bee2c7a7da67243f68fb9b4630951a06d79f8f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 4 May 2026 19:14:39 +0000 Subject: [PATCH] fix(databasus): update service EnvironmentFile path in update_script Agent-Logs-Url: https://github.com/community-scripts/ProxmoxVE/sessions/b4dcde99-e021-40ce-bdbd-3afc224ab6d4 Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com> --- ct/databasus.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ct/databasus.sh b/ct/databasus.sh index 99306130a..4e0e25bfc 100644 --- a/ct/databasus.sh +++ b/ct/databasus.sh @@ -90,6 +90,11 @@ function update_script() { chmod 600 /.env msg_ok "Restored Configuration" + msg_info "Updating Service" + sed -i 's|EnvironmentFile=.*|EnvironmentFile=/.env|' /etc/systemd/system/databasus.service + $STD systemctl daemon-reload + msg_ok "Updated Service" + msg_info "Starting Databasus" $STD systemctl start databasus msg_ok "Started Databasus"