2019-12-21 18:54:56 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Mycroft Skills
|
|
|
|
PartOf=mycroft.service
|
|
|
|
After=mycroft.service
|
2021-04-05 20:15:47 +02:00
|
|
|
After=mycroft-messagebus.service
|
|
|
|
After=mycroft-audio.service
|
2019-12-21 18:54:56 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=mycroft
|
2021-04-05 20:15:47 +02:00
|
|
|
Type=notify
|
2019-12-21 18:54:56 +01:00
|
|
|
WorkingDirectory=/home/mycroft
|
2021-04-05 20:15:47 +02:00
|
|
|
Environment=PYTHONUNBUFFERED=1
|
|
|
|
ExecStart=/home/mycroft/.local/share/systemd/mycroft-systemd_skills.py
|
2021-04-06 21:11:03 +02:00
|
|
|
StandardOutput=append:/var/log/mycroft/skills.log
|
2019-12-21 18:54:56 +01:00
|
|
|
StandardError=file:/var/log/mycroft/skills.error.log
|
2021-05-03 20:43:55 +02:00
|
|
|
TimeoutStartSec=10m
|
2021-04-05 20:15:47 +02:00
|
|
|
TimeoutStopSec=1m
|
2019-12-21 18:54:56 +01:00
|
|
|
Restart=on-failure
|
2021-04-05 20:15:47 +02:00
|
|
|
StartLimitInterval=5min
|
|
|
|
StartLimitBurst=4
|
|
|
|
#StartLimitAction=reboot-force
|
|
|
|
#WatchdogSec=30s
|
2019-12-21 18:54:56 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=mycroft.service
|