mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-14 14:52:18 +02:00
databasus, domain-monitor, poznote: chown after restore_backup so restored data keeps its owner (#17350)
This commit is contained in:
committed by
GitHub
parent
c81d721040
commit
60fda0a57b
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user