mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-02-11 09:20:44 +01:00
Fixes and addition of shared dbus service/socket
This commit is contained in:
parent
3c0468d4ee
commit
369f7a32b9
@ -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
|
||||
|
@ -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
|
||||
|
@ -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/
|
||||
|
@ -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
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user