mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-06-05 22:19:21 +02:00
Service changes
This commit is contained in:
@ -5,4 +5,4 @@ alias ll='ls -la'
|
|||||||
######################################################################
|
######################################################################
|
||||||
# Initialize OpenVoiceOS CLI Environment
|
# Initialize OpenVoiceOS CLI Environment
|
||||||
######################################################################
|
######################################################################
|
||||||
source cli_login.sh
|
#source cli_login.sh
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
../../../../../../usr/lib/systemd/user/local-backend.service
|
@ -9,9 +9,8 @@ enable NetworkManager.service
|
|||||||
enable getty@tty1.service
|
enable getty@tty1.service
|
||||||
enable ovos-splash-start.service
|
enable ovos-splash-start.service
|
||||||
enable ovos-splash-systemd.service
|
enable ovos-splash-systemd.service
|
||||||
enable ovos-splash-quit.service
|
|
||||||
enable local-backend.service
|
|
||||||
|
|
||||||
|
disable ovos-splash-quit.service
|
||||||
disable mosquitto.service
|
disable mosquitto.service
|
||||||
disable motion.service
|
disable motion.service
|
||||||
disable mpd.service
|
disable mpd.service
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=OVOS Local Backend
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=mycroft
|
|
||||||
WorkingDirectory=/home/mycroft
|
|
||||||
ExecStart=ovos-local-backend
|
|
||||||
StandardOutput=file:/var/log/mycroft/local-backend.log
|
|
||||||
StandardError=file:/var/log/mycroft/local-backend.error.log
|
|
||||||
Restart=on-failure
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,20 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Mycroft Skills
|
||||||
|
PartOf=mycroft.service
|
||||||
|
After=mycroft.service
|
||||||
|
After=mycroft-messagebus.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=ovos-local-backend
|
||||||
|
StandardOutput=append:/home/mycroft/.local/state/mycroft/local-backend.log
|
||||||
|
#StandardError=file:/home/mycroft/.local/state/mycroft/local-backend.error.log
|
||||||
|
TimeoutStartSec=10m
|
||||||
|
TimeoutStopSec=1m
|
||||||
|
Restart=on-failure
|
||||||
|
StartLimitInterval=5min
|
||||||
|
StartLimitBurst=4
|
||||||
|
#StartLimitAction=reboot-force
|
||||||
|
#WatchdogSec=30s
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=mycroft.service
|
@ -8,7 +8,7 @@ After=mycroft-messagebus.service
|
|||||||
Type=notify
|
Type=notify
|
||||||
ExecStart=/usr/libexec/mycroft-systemd-audio
|
ExecStart=/usr/libexec/mycroft-systemd-audio
|
||||||
StandardOutput=append:/home/mycroft/.local/state/mycroft/audio.log
|
StandardOutput=append:/home/mycroft/.local/state/mycroft/audio.log
|
||||||
StandardError=file:/home/mycroft/.local/state/mycroft/audio.error.log
|
#StandardError=file:/home/mycroft/.local/state/mycroft/audio.error.log
|
||||||
TimeoutStartSec=1m
|
TimeoutStartSec=1m
|
||||||
TimeoutStopSec=1m
|
TimeoutStopSec=1m
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
@ -8,7 +8,7 @@ After=mycroft-messagebus.service
|
|||||||
Type=notify
|
Type=notify
|
||||||
ExecStart=/usr/libexec/mycroft-systemd-gui
|
ExecStart=/usr/libexec/mycroft-systemd-gui
|
||||||
StandardOutput=append:/home/mycroft/.local/state/mycroft/enclosure_gui.log
|
StandardOutput=append:/home/mycroft/.local/state/mycroft/enclosure_gui.log
|
||||||
StandardError=file:/home/mycroft/.local/state/mycroft/enclosure_gui.error.log
|
#StandardError=file:/home/mycroft/.local/state/mycroft/enclosure_gui.error.log
|
||||||
TimeoutStartSec=1m
|
TimeoutStartSec=1m
|
||||||
TimeoutStopSec=1m
|
TimeoutStopSec=1m
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
@ -7,7 +7,7 @@ After=mycroft.service
|
|||||||
Type=notify
|
Type=notify
|
||||||
ExecStart=/usr/libexec/mycroft-systemd-messagebus
|
ExecStart=/usr/libexec/mycroft-systemd-messagebus
|
||||||
StandardOutput=append:/home/mycroft/.local/state/mycroft/bus.log
|
StandardOutput=append:/home/mycroft/.local/state/mycroft/bus.log
|
||||||
StandardError=file:/home/mycroft/.local/state/mycroft/bus.error.log
|
#StandardError=file:/home/mycroft/.local/state/mycroft/bus.error.log
|
||||||
TimeoutStartSec=1m
|
TimeoutStartSec=1m
|
||||||
TimeoutStopSec=1m
|
TimeoutStopSec=1m
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
@ -8,7 +8,7 @@ After=mycroft-messagebus.service
|
|||||||
Type=notify
|
Type=notify
|
||||||
ExecStart=/usr/libexec/mycroft-systemd-phal
|
ExecStart=/usr/libexec/mycroft-systemd-phal
|
||||||
StandardOutput=append:/home/mycroft/.local/state/mycroft/phal.log
|
StandardOutput=append:/home/mycroft/.local/state/mycroft/phal.log
|
||||||
StandardError=file:/home/mycroft/.local/state/mycroft/phal.error.log
|
#StandardError=file:/home/mycroft/.local/state/mycroft/phal.error.log
|
||||||
TimeoutStartSec=1m
|
TimeoutStartSec=1m
|
||||||
TimeoutStopSec=1m
|
TimeoutStopSec=1m
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
@ -8,7 +8,7 @@ After=mycroft-messagebus.service
|
|||||||
Type=notify
|
Type=notify
|
||||||
ExecStart=/usr/libexec/mycroft-systemd-skills
|
ExecStart=/usr/libexec/mycroft-systemd-skills
|
||||||
StandardOutput=append:/home/mycroft/.local/state/mycroft/skills.log
|
StandardOutput=append:/home/mycroft/.local/state/mycroft/skills.log
|
||||||
StandardError=file:/home/mycroft/.local/state/mycroft/skills.error.log
|
#StandardError=file:/home/mycroft/.local/state/mycroft/skills.error.log
|
||||||
TimeoutStartSec=10m
|
TimeoutStartSec=10m
|
||||||
TimeoutStopSec=1m
|
TimeoutStopSec=1m
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
@ -8,7 +8,7 @@ After=mycroft-messagebus.service
|
|||||||
Type=notify
|
Type=notify
|
||||||
ExecStart=/usr/libexec/mycroft-systemd-voice
|
ExecStart=/usr/libexec/mycroft-systemd-voice
|
||||||
StandardOutput=append:/home/mycroft/.local/state/mycroft/voice.log
|
StandardOutput=append:/home/mycroft/.local/state/mycroft/voice.log
|
||||||
StandardError=file:/home/mycroft/.local/state/mycroft/voice.error.log
|
#StandardError=file:/home/mycroft/.local/state/mycroft/voice.error.log
|
||||||
TimeoutStartSec=1m
|
TimeoutStartSec=1m
|
||||||
TimeoutStopSec=1m
|
TimeoutStopSec=1m
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
Reference in New Issue
Block a user