1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-01-07 06:56:43 +01:00
OpenVoiceOS/buildroot-external/package/mycroft-service/mycroft-gui.service

27 lines
801 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Mycroft GUI
PartOf=mycroft.service
After=mycroft.service
After=mycroft-messagebus.service
Wants=weston.service
After=weston.service
[Service]
User=mycroft
WorkingDirectory=/home/mycroft
Environment=QT_QPA_PLATFORM=wayland
Environment=QT_PLUGIN_PATH=/usr/lib/qt/plugins:/usr/lib/plugins:/usr/lib/plugins/kf5
Environment=QT_LOGGING_RULES='*=false'
Environment=XDG_RUNTIME_DIR=/tmp/weston
2020-06-12 09:43:10 +02:00
Environment=XDG_DATA_DIRS=/usr/share/icons:/usr/share/kf5:$XDG_DATA_DIRS
Environment=LD_LIBRARY_PATH=/usr/lib
Environment=LIBEXEC_PATH=/usr/lib/libexec:/usr/lib/libexec/kf5
Environment=QML2_IMPORT_PATH=/usr/lib/qml
ExecStartPre=/usr/bin/sh -c 'export $(dbus-launch)'
ExecStart=mycroft-gui-app --hideTextInput --maximize
StandardOutput=null
Restart=on-failure
[Install]
WantedBy=mycroft.service