Fixes and addition of shared dbus service/socket

This commit is contained in:
Peter Steenbergen 2021-09-27 09:19:23 +02:00
parent 3c0468d4ee
commit 369f7a32b9
5 changed files with 25 additions and 1 deletions

View File

@ -667,6 +667,7 @@ BR2_PACKAGE_PYTHON_PYJOKES=y
BR2_PACKAGE_PYTHON_PYMPLAYER=y
BR2_PACKAGE_PYTHON_PYOWM=y
BR2_PACKAGE_PYTHON_PYTHRAN=y
BR2_PACKAGE_PYTHON_PYTZDATA=y
BR2_PACKAGE_PYTHON_QUANTULUM3=y
BR2_PACKAGE_PYTHON_RAKEKEYWORDS=y
BR2_PACKAGE_PYTHON_RAPIDFUZZ=y

View File

@ -4,7 +4,7 @@
#
################################################################################
MYCROFT_SKILL_NEWS_VERSION = 4503ac4741326b38902c26a62c3a68ef2fad87ef
MYCROFT_SKILL_NEWS_VERSION = db21971365efd8016301ebe7fc2cf9abdf10cbc9
MYCROFT_SKILL_NEWS_SITE = git://github.com/JarbasSkills/skill-news
MYCROFT_SKILL_NEWS_SITE_METHOD = git
MYCROFT_SKILL_NEWS_DIRLOCATION = home/mycroft/.local/share/mycroft/skills

View File

@ -1,8 +1,11 @@
[Unit]
Description=OVOS Dashboard Service
After=network.target
Requires=dbus.socket
[Service]
Type=dbus
BusName=com.openvoiceos.ovos-dashboard
Environment=SIMPLELOGIN_USERNAME="OVOS"
Environment=SIMPLELOGIN_PASSWORD=%i
Environment=MYCROFT_SKILLS_LOCATION=%h/.local/share/mycroft/skills/

View File

@ -0,0 +1,10 @@
[Unit]
Description=D-Bus User Message Bus
Requires=dbus.socket
[Service]
ExecStart=/usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
ExecReload=/usr/bin/dbus-send --print-reply --session --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
[Install]
Also=dbus.socket

View File

@ -0,0 +1,10 @@
[Unit]
Description=D-Bus User Message Bus Socket
[Socket]
ListenStream=%t/bus
ExecStartPost=-/bin/systemctl --user set-environment DBUS_SESSION_BUS_ADDRESS=unix:path=%t/bus
[Install]
WantedBy=sockets.target
Also=dbus.service