diff --git a/buildroot-external/package/ovos-dashboard/0001-Run-on-port-5005.patch b/buildroot-external/package/ovos-dashboard/0001-Run-on-port-5005.patch new file mode 100644 index 00000000..e0411a28 --- /dev/null +++ b/buildroot-external/package/ovos-dashboard/0001-Run-on-port-5005.patch @@ -0,0 +1,22 @@ +From 82809d49faf5a04dcba60dd64ebf7c7878553274 Mon Sep 17 00:00:00 2001 +From: j1nx +Date: Thu, 12 Jan 2023 19:32:03 +0100 +Subject: [PATCH 1/1] Run on port 5005 + +--- + app.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/app.py b/app.py +index 32525dc..4da3e4e 100644 +--- a/app.py ++++ b/app.py +@@ -294,4 +294,4 @@ def control_myc(): + if __name__ == "__main__": + # app.run(debug=True) + SimpleLogin(app) +- socketio.run(app, host="0.0.0.0", debug=True) ++ socketio.run(app, host="0.0.0.0", port=5005, debug=True) +-- +2.34.1 + diff --git a/buildroot-external/package/ovos-dashboard/ovos-dashboard@.service b/buildroot-external/package/ovos-dashboard/ovos-dashboard@.service index fd55191d..e513629d 100644 --- a/buildroot-external/package/ovos-dashboard/ovos-dashboard@.service +++ b/buildroot-external/package/ovos-dashboard/ovos-dashboard@.service @@ -1,11 +1,8 @@ [Unit] Description=OVOS Dashboard Service -After=network.target -Requires=dbus.socket [Service] -Type=dbus -BusName=com.openvoiceos.ovos-dashboard +Type=simple Environment=SIMPLELOGIN_USERNAME="OVOS" Environment=SIMPLELOGIN_PASSWORD=%i Environment=MYCROFT_SKILLS_LOCATION=%h/.local/share/mycroft/skills/ @@ -14,4 +11,4 @@ ExecStart=python /usr/local/share/ovos-dashboard/app.py --serve-in-foreground Restart=always [Install] -WantedBy=multi-user.target +WantedBy=default.target