1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-18 11:58:58 +01:00
OpenVoiceOS/buildroot-external/package/mycroft-service/mycroft-skills.service
j1nx 5150f3da34 Increase the systemd timeout for the mycroft-skills.service
The READY is only send after all skills are fully installed and loaded
instead of when the actual service is up and running. This will
bite us at the very first run, when the default skills still needs
to be downloaded an installed.
2021-05-03 20:43:55 +02:00

26 lines
595 B
Desktop File

[Unit]
Description=Mycroft Skills
PartOf=mycroft.service
After=mycroft.service
After=mycroft-messagebus.service
After=mycroft-audio.service
[Service]
User=mycroft
Type=notify
WorkingDirectory=/home/mycroft
Environment=PYTHONUNBUFFERED=1
ExecStart=/home/mycroft/.local/share/systemd/mycroft-systemd_skills.py
StandardOutput=append:/var/log/mycroft/skills.log
StandardError=file:/var/log/mycroft/skills.error.log
TimeoutStartSec=10m
TimeoutStopSec=1m
Restart=on-failure
StartLimitInterval=5min
StartLimitBurst=4
#StartLimitAction=reboot-force
#WatchdogSec=30s
[Install]
WantedBy=mycroft.service