mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-06-05 22:19:21 +02:00
Changes to systemd services and targets
This commit is contained in:
@@ -0,0 +1 @@
|
||||
../../../usr/lib/systemd/system/gui.target
|
@@ -0,0 +1 @@
|
||||
../../../../../../usr/lib/systemd/user/mycroft-enclosure-gui.service
|
@@ -0,0 +1 @@
|
||||
../../../../../../usr/lib/systemd/user/mycroft-gui.service
|
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=OpenVoiceOS - Mycroft GUI Interface
|
||||
Documentation=man:systemd.special(7)
|
||||
Requires=multi-user.target
|
||||
Wants=mycroft-gui.service
|
||||
Conflicts=rescue.service rescue.target
|
||||
After=multi-user.target rescue.service rescue.target display-manager.service
|
||||
AllowIsolate=yes
|
@@ -6,4 +6,4 @@ ExecStart=/usr/lib/libexec/kdeconnectd -platform offscreen
|
||||
BusName=org.kde.kdeconnect
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
WantedBy=multi-user.target
|
||||
|
@@ -1,6 +1,5 @@
|
||||
[Unit]
|
||||
Description=Mycroft Enclosure
|
||||
PartOf=mycroft.service
|
||||
After=mycroft.service
|
||||
After=mycroft-messagebus.service
|
||||
|
||||
@@ -18,4 +17,4 @@ StartLimitBurst=4
|
||||
#WatchdogSec=30s
|
||||
|
||||
[Install]
|
||||
WantedBy=mycroft.service
|
||||
WantedBy=gui.target
|
||||
|
@@ -1,5 +1,7 @@
|
||||
[Unit]
|
||||
Description=Mycroft GUI
|
||||
After=mycroft-enclosure-gui.service
|
||||
Requires=mycroft-enclosure-gui.service
|
||||
|
||||
[Service]
|
||||
ExecStartPre=-/usr/bin/kbuildsycoca5
|
||||
@@ -8,4 +10,4 @@ StandardOutput=null
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=mycroft.service
|
||||
WantedBy=gui.target
|
||||
|
Reference in New Issue
Block a user