1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-18 20:03:16 +01:00
OpenVoiceOS/buildroot-external/package/mycroft-service/mycroft-messagebus.service

24 lines
536 B
SYSTEMD
Raw Normal View History

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