mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-01-27 17:09:29 +01:00
Service changes
This commit is contained in:
parent
ec6d885f97
commit
fe4275f4d4
@ -5,4 +5,4 @@ alias ll='ls -la'
|
||||
######################################################################
|
||||
# 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 ovos-splash-start.service
|
||||
enable ovos-splash-systemd.service
|
||||
enable ovos-splash-quit.service
|
||||
enable local-backend.service
|
||||
|
||||
disable ovos-splash-quit.service
|
||||
disable mosquitto.service
|
||||
disable motion.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
|
||||
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
|
||||
#StandardError=file:/home/mycroft/.local/state/mycroft/audio.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
Restart=on-failure
|
||||
|
@ -8,7 +8,7 @@ After=mycroft-messagebus.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
|
||||
#StandardError=file:/home/mycroft/.local/state/mycroft/enclosure_gui.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
Restart=on-failure
|
||||
|
@ -7,7 +7,7 @@ After=mycroft.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
|
||||
#StandardError=file:/home/mycroft/.local/state/mycroft/bus.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
Restart=on-failure
|
||||
|
@ -8,7 +8,7 @@ After=mycroft-messagebus.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
|
||||
#StandardError=file:/home/mycroft/.local/state/mycroft/phal.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
Restart=on-failure
|
||||
|
@ -8,7 +8,7 @@ After=mycroft-messagebus.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
|
||||
#StandardError=file:/home/mycroft/.local/state/mycroft/skills.error.log
|
||||
TimeoutStartSec=10m
|
||||
TimeoutStopSec=1m
|
||||
Restart=on-failure
|
||||
|
@ -8,7 +8,7 @@ After=mycroft-messagebus.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
|
||||
#StandardError=file:/home/mycroft/.local/state/mycroft/voice.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
Restart=on-failure
|
||||
|
Loading…
x
Reference in New Issue
Block a user