OpenVoiceOS/buildroot-external/package/mycroft-service/mycroft-phal.service

25 lines
558 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Mycroft PHAL
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_phal.py
StandardOutput=append:/var/log/mycroft/phal.log
StandardError=file:/var/log/mycroft/phal.error.log
TimeoutStartSec=1m
TimeoutStopSec=1m
Restart=on-failure
StartLimitInterval=5min
StartLimitBurst=4
#StartLimitAction=reboot-force
#WatchdogSec=30s
[Install]
WantedBy=mycroft.service