mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-25 13:55:44 +02:00
fix: wallos
This commit is contained in:
+2
-1
@@ -55,7 +55,8 @@ function update_script() {
|
||||
msg_ok "Apache2 Reloaded"
|
||||
|
||||
msg_info "Running Database Migration"
|
||||
$STD curl http://localhost/endpoints/db/migrate.php
|
||||
cd /opt/wallos
|
||||
$STD sudo -u www-data php /opt/wallos/endpoints/db/migrate.php
|
||||
msg_ok "Ran Database Migration"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
|
||||
@@ -40,7 +40,7 @@ EOF
|
||||
$STD a2ensite wallos.conf
|
||||
$STD a2dissite 000-default.conf
|
||||
$STD systemctl restart apache2
|
||||
$STD curl http://localhost/endpoints/db/migrate.php
|
||||
$STD sudo -u www-data php /opt/wallos/endpoints/db/migrate.php
|
||||
msg_ok "Installed Wallos"
|
||||
|
||||
msg_info "Setting up Crontabs"
|
||||
|
||||
Reference in New Issue
Block a user