fix: wallos

This commit is contained in:
CrazyWolf13
2026-08-21 13:53:26 +02:00
parent ee518802db
commit 4d3c064e77
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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
+1 -1
View File
@@ -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"