Fix and changes within mycroft systemd service files.

This commit is contained in:
j1nx 2021-04-06 21:11:03 +02:00
parent 1d32de57d5
commit 62f5d38a99
5 changed files with 16 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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

View File

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