25 lines
567 B
SYSTEMD
25 lines
567 B
SYSTEMD
[Unit]
|
|
Description=Mycroft Skills
|
|
PartOf=mycroft.service
|
|
After=mycroft.service
|
|
After=mycroft-messagebus.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
|