mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2024-12-12 17:10:33 +01:00
Fix and changes within mycroft systemd service files.
This commit is contained in:
parent
1d32de57d5
commit
62f5d38a99
@ -10,7 +10,7 @@ Type=notify
|
||||
WorkingDirectory=/home/mycroft
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=/home/mycroft/.local/share/systemd/mycroft-systemd_audio.py
|
||||
StandardOutput=file:/var/log/mycroft/audio.log
|
||||
StandardOutput=append:/var/log/mycroft/audio.log
|
||||
StandardError=file:/var/log/mycroft/audio.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
|
@ -10,7 +10,7 @@ Type=notify
|
||||
WorkingDirectory=/home/mycroft
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=/home/mycroft/.local/share/systemd/mycroft-systemd_enclosure.py
|
||||
StandardOutput=file:/var/log/mycroft/enclosure.log
|
||||
StandardOutput=append:/var/log/mycroft/enclosure.log
|
||||
StandardError=file:/var/log/mycroft/enclosure.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
|
@ -9,7 +9,7 @@ Type=notify
|
||||
WorkingDirectory=/home/mycroft
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=/home/mycroft/.local/share/systemd/mycroft-systemd_messagebus.py
|
||||
StandardOutput=file:/var/log/mycroft/bus.log
|
||||
StandardOutput=append:/var/log/mycroft/bus.log
|
||||
StandardError=file:/var/log/mycroft/bus.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
|
@ -11,7 +11,7 @@ Type=notify
|
||||
WorkingDirectory=/home/mycroft
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=/home/mycroft/.local/share/systemd/mycroft-systemd_skills.py
|
||||
StandardOutput=file:/var/log/mycroft/skills.log
|
||||
StandardOutput=append:/var/log/mycroft/skills.log
|
||||
StandardError=file:/var/log/mycroft/skills.error.log
|
||||
TimeoutStartSec=1m
|
||||
TimeoutStopSec=1m
|
||||
|
@ -2,14 +2,24 @@
|
||||
Description=Mycroft Voice
|
||||
PartOf=mycroft.service
|
||||
After=mycroft.service
|
||||
After=mycroft-messagebus.service
|
||||
|
||||
[Service]
|
||||
User=mycroft
|
||||
Type=notify
|
||||
WorkingDirectory=/home/mycroft
|
||||
ExecStart=mycroft-speech-client
|
||||
StandardOutput=file:/var/log/mycroft/voice.log
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=/home/mycroft/.local/share/systemd/mycroft-systemd_voice.py
|
||||
StandardOutput=append:/var/log/mycroft/voice.log
|
||||
StandardError=file:/var/log/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
|
||||
|
Loading…
Reference in New Issue
Block a user