Changes to systemd services and targets

This commit is contained in:
j1nx 2022-10-14 09:57:19 +02:00
parent ac5579ae9e
commit 5acb8b8ff4
9 changed files with 16 additions and 4 deletions

View File

@ -0,0 +1 @@
../../../usr/lib/systemd/system/gui.target

View File

@ -0,0 +1 @@
../../../../../../usr/lib/systemd/user/mycroft-enclosure-gui.service

View File

@ -0,0 +1 @@
../../../../../../usr/lib/systemd/user/mycroft-gui.service

View File

@ -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

View File

@ -6,4 +6,4 @@ ExecStart=/usr/lib/libexec/kdeconnectd -platform offscreen
BusName=org.kde.kdeconnect
[Install]
WantedBy=default.target
WantedBy=multi-user.target

View File

@ -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

View File

@ -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