mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-05 18:13:50 +00:00
Update termix.sh
This commit is contained in:
@@ -138,15 +138,6 @@ WantedBy=multi-user.target
|
|||||||
EOF
|
EOF
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
fi
|
fi
|
||||||
cd /opt/termix
|
|
||||||
$STD node -e "
|
|
||||||
const Database = require('better-sqlite3');
|
|
||||||
try {
|
|
||||||
const db = new Database('data/db.sqlite');
|
|
||||||
db.prepare(\"UPDATE settings SET value = '127.0.0.1:4822' WHERE key = 'guac_url' AND value LIKE '%guacd%'\").run();
|
|
||||||
db.close();
|
|
||||||
} catch(e) {}
|
|
||||||
"
|
|
||||||
msg_ok "Migrated Configuration"
|
msg_ok "Migrated Configuration"
|
||||||
|
|
||||||
msg_info "Backing up Data"
|
msg_info "Backing up Data"
|
||||||
|
|||||||
Reference in New Issue
Block a user