Quick fixes for the dashboard to start

This commit is contained in:
j1nx 2023-01-12 19:33:43 +01:00
parent b007be7615
commit 27c960d4bb
2 changed files with 24 additions and 5 deletions

View File

@ -0,0 +1,22 @@
From 82809d49faf5a04dcba60dd64ebf7c7878553274 Mon Sep 17 00:00:00 2001
From: j1nx <p.steenbergen@j1nx.nl>
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

View File

@ -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