1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-02-03 12:07:46 +01:00
OpenVoiceOS/buildroot-external/package/mycroft-service/mycroft-enclosure-client.service
j1nx 42d5ac4b31 Revert "Launch enclosure-client without systemd wrapper for now"
This reverts commit 39091e62a03073bd2363655745bc3ca343a70896.
2022-03-16 15:47:39 +01:00

25 lines
592 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_client.log
StandardError=file:/var/log/mycroft/enclosure_client.error.log
TimeoutStartSec=1m
TimeoutStopSec=1m
Restart=on-failure
StartLimitInterval=5min
StartLimitBurst=4
#StartLimitAction=reboot-force
#WatchdogSec=30s
[Install]
WantedBy=mycroft.service