mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-06-05 22:19:21 +02:00
Switch over to user systemd services
This commit is contained in:
@@ -9,14 +9,6 @@ enable NetworkManager.service
|
||||
enable getty@tty1.service
|
||||
enable ovos-splash-start.service
|
||||
enable ovos-splash-systemd.service
|
||||
enable mycroft.service
|
||||
enable mycroft-messagebus.service
|
||||
enable mycroft-voice.service
|
||||
enable mycroft-audio.service
|
||||
enable mycroft-skills.service
|
||||
enable mycroft-gui.service
|
||||
enable mycroft-enclosure-gui.service
|
||||
enable mycroft-phal.service
|
||||
enable ovos-splash-quit.service
|
||||
enable local-backend.service
|
||||
|
||||
|
@@ -0,0 +1,15 @@
|
||||
disable pulseaudio.service
|
||||
disable pulseaudio.socket
|
||||
|
||||
enable mycroft.service
|
||||
enable mycroft-messagebus.service
|
||||
enable mycroft-voice.service
|
||||
enable mycroft-audio.service
|
||||
enable mycroft-skills.service
|
||||
enable mycroft-gui.service
|
||||
enable mycroft-enclosure-gui.service
|
||||
enable mycroft-phal.service
|
||||
|
||||
enable local-backend.service
|
||||
|
||||
enable kdeconnectd.service
|
@@ -4,3 +4,6 @@ Description=Connect your OVOS-Device to your smartphone or tablet
|
||||
[Service]
|
||||
ExecStart=/usr/lib/libexec/kdeconnectd -platform offscreen
|
||||
BusName=org.kde.kdeconnect
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=Mycroft Audio
|
||||
PartOf=mycroft.service
|
||||
After=mycroft.service
|
||||
After=mycroft-messagebus.service
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/usr/libexec/mycroft-systemd-audio
|
||||
StandardOutput=append:/home/mycroft/.local/state/mycroft/audio.log
|
||||
StandardError=file:/home/mycroft/.local/state/mycroft/audio.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
Restart=on-failure
|
||||
StartLimitInterval=5min
|
||||
StartLimitBurst=4
|
||||
#StartLimitAction=reboot-force
|
||||
#WatchdogSec=30s
|
||||
|
||||
[Install]
|
||||
WantedBy=mycroft.service
|
||||
|
@@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=Mycroft Enclosure
|
||||
PartOf=mycroft.service
|
||||
After=mycroft.service
|
||||
After=mycroft-messagebus.service
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/usr/libexec/mycroft-systemd-gui
|
||||
StandardOutput=append:/home/mycroft/.local/state/mycroft/enclosure_gui.log
|
||||
StandardError=file:/home/mycroft/.local/state/mycroft/enclosure_gui.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
Restart=on-failure
|
||||
StartLimitInterval=5min
|
||||
StartLimitBurst=4
|
||||
#StartLimitAction=reboot-force
|
||||
#WatchdogSec=30s
|
||||
|
||||
[Install]
|
||||
WantedBy=mycroft.service
|
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Mycroft GUI
|
||||
|
||||
[Service]
|
||||
ExecStartPre=-/usr/bin/kbuildsycoca5
|
||||
ExecStart=ovos-shell --maximize
|
||||
StandardOutput=null
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=mycroft.service
|
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=Mycroft Messagebus
|
||||
PartOf=mycroft.service
|
||||
After=mycroft.service
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/usr/libexec/mycroft-systemd-messagebus
|
||||
StandardOutput=append:/home/mycroft/.local/state/mycroft/bus.log
|
||||
StandardError=file:/home/mycroft/.local/state/mycroft/bus.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
Restart=on-failure
|
||||
StartLimitInterval=5min
|
||||
StartLimitBurst=4
|
||||
#StartLimitAction=reboot-force
|
||||
#WatchdogSec=30s
|
||||
|
||||
[Install]
|
||||
WantedBy=mycroft.service
|
@@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=Mycroft PHAL
|
||||
PartOf=mycroft.service
|
||||
After=mycroft.service
|
||||
After=mycroft-messagebus.service
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/usr/libexec/mycroft-systemd-phal
|
||||
StandardOutput=append:/home/mycroft/.local/state/mycroft/phal.log
|
||||
StandardError=file:/home/mycroft/.local/state/mycroft/phal.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
Restart=on-failure
|
||||
StartLimitInterval=5min
|
||||
StartLimitBurst=4
|
||||
#StartLimitAction=reboot-force
|
||||
#WatchdogSec=30s
|
||||
|
||||
[Install]
|
||||
WantedBy=mycroft.service
|
@@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=Mycroft Skills
|
||||
PartOf=mycroft.service
|
||||
After=mycroft.service
|
||||
After=mycroft-messagebus.service
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/usr/libexec/mycroft-systemd-skills
|
||||
StandardOutput=append:/home/mycroft/.local/state/mycroft/skills.log
|
||||
StandardError=file:/home/mycroft/.local/state/mycroft/skills.error.log
|
||||
TimeoutStartSec=10m
|
||||
TimeoutStopSec=1m
|
||||
Restart=on-failure
|
||||
StartLimitInterval=5min
|
||||
StartLimitBurst=4
|
||||
#StartLimitAction=reboot-force
|
||||
#WatchdogSec=30s
|
||||
|
||||
[Install]
|
||||
WantedBy=mycroft.service
|
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=Mycroft Voice
|
||||
PartOf=mycroft.service
|
||||
After=mycroft.service
|
||||
After=mycroft-messagebus.service
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/usr/libexec/mycroft-systemd-voice
|
||||
StandardOutput=append:/home/mycroft/.local/state/mycroft/voice.log
|
||||
StandardError=file:/home/mycroft/.local/state/mycroft/voice.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
Restart=on-failure
|
||||
Restart=on-failure
|
||||
StartLimitInterval=5min
|
||||
StartLimitBurst=4
|
||||
#StartLimitAction=reboot-force
|
||||
#WatchdogSec=30s
|
||||
|
||||
[Install]
|
||||
WantedBy=mycroft.service
|
||||
|
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Mycroft A.I. Software stack.
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/true
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Reference in New Issue
Block a user