diff --git a/ct/nextexplorer.sh b/ct/nextexplorer.sh index 9bd966966..7085221a2 100644 --- a/ct/nextexplorer.sh +++ b/ct/nextexplorer.sh @@ -50,7 +50,7 @@ function update_script() { unset NODE_ENV cd /opt/nextExplorer/ mv backend/{node_modules,src,package.json} "$APP_DIR" - mv frontend/dist/ "$APP_DIR"/public + mv frontend/dist/ "$APP_DIR"/src/public msg_ok "Updated nextExplorer" msg_info "Starting nextExplorer" diff --git a/install/nextexplorer-install.sh b/install/nextexplorer-install.sh index dc8d16e72..ae34ad1b5 100644 --- a/install/nextexplorer-install.sh +++ b/install/nextexplorer-install.sh @@ -42,7 +42,7 @@ unset NODE_ENV cd /opt/nextExplorer mv backend/{node_modules,src,package.json} "$APP_DIR" -mv frontend/dist/ "$APP_DIR"/public +mv frontend/dist/ "$APP_DIR"/src/public msg_ok "Built nextExplorer" msg_info "Configuring nextExplorer" @@ -113,7 +113,7 @@ chmod 600 /etc/nextExplorer/.env msg_ok "Configured nextExplorer" msg_info "Creating nextExplorer Service" -cat </etc/systemd/system/nextExplorer.service +cat </etc/systemd/system/nextexplorer.service [Unit] Description=nextExplorer Service After=network.target @@ -131,7 +131,7 @@ StandardError=journal [Install] WantedBy=multi-user.target EOF -$STD systemctl enable -q --now nextExplorer +$STD systemctl enable -q --now nextexplorer msg_ok "Created nextExplorer Service" motd_ssh