2020-05-17 17:38:09 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Mycroft GUI
|
|
|
|
PartOf=mycroft.service
|
|
|
|
After=mycroft.service
|
|
|
|
After=mycroft-messagebus.service
|
2020-06-01 15:41:14 +02:00
|
|
|
Wants=weston.service
|
|
|
|
After=weston.service
|
2020-05-17 17:38:09 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=mycroft
|
|
|
|
WorkingDirectory=/home/mycroft
|
2020-06-01 15:41:14 +02:00
|
|
|
Environment=QT_QPA_PLATFORM=wayland
|
2020-06-06 11:41:09 +02:00
|
|
|
Environment=QT_PLUGIN_PATH=/usr/lib/qt/plugins:/usr/lib/plugins:/usr/lib/plugins/kf5
|
|
|
|
Environment=QT_LOGGING_RULES='*=false'
|
2020-06-01 15:41:14 +02:00
|
|
|
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
|
2020-05-17 17:38:09 +02:00
|
|
|
Environment=LD_LIBRARY_PATH=/usr/lib
|
2020-06-06 11:41:09 +02:00
|
|
|
Environment=LIBEXEC_PATH=/usr/lib/libexec:/usr/lib/libexec/kf5
|
2020-05-17 17:38:09 +02:00
|
|
|
Environment=QML2_IMPORT_PATH=/usr/lib/qml
|
2020-07-27 15:21:29 +02:00
|
|
|
ExecStartPre=/usr/bin/sh -c 'export $(dbus-launch)'
|
2020-05-24 12:23:27 +02:00
|
|
|
ExecStart=mycroft-gui-app --hideTextInput --maximize
|
2020-06-06 11:41:09 +02:00
|
|
|
StandardOutput=null
|
2020-05-17 17:38:09 +02:00
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=mycroft.service
|