mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2024-12-14 18:08:22 +01:00
25 lines
578 B
Desktop File
25 lines
578 B
Desktop File
[Unit]
|
|
Description=Mycroft Enclosure
|
|
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_enclosure.py
|
|
StandardOutput=append:/var/log/mycroft/enclosure.log
|
|
StandardError=file:/var/log/mycroft/enclosure.error.log
|
|
TimeoutStartSec=1m
|
|
TimeoutStopSec=1m
|
|
Restart=on-failure
|
|
StartLimitInterval=5min
|
|
StartLimitBurst=4
|
|
#StartLimitAction=reboot-force
|
|
#WatchdogSec=30s
|
|
|
|
[Install]
|
|
WantedBy=mycroft.service
|