databasus, domain-monitor, poznote: chown after restore_backup so restored data keeps its owner (#17350)

This commit is contained in:
CanbiZ (MickLesk)
2026-09-18 15:28:03 +02:00
committed by GitHub
parent c81d721040
commit 60fda0a57b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -87,10 +87,10 @@ function update_script() {
mkdir -p /opt/databasus/ui/build
cp -r /opt/databasus/frontend/dist/* /opt/databasus/ui/build/
cp -r /opt/databasus/backend/migrations /opt/databasus/
chown -R postgres:postgres /opt/databasus
msg_ok "Updated Databasus"
restore_backup
chown -R postgres:postgres /opt/databasus
if ! grep -q "EnvironmentFile=/.env" /etc/systemd/system/databasus.service; then
msg_info "Updating Service"