1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-02-01 11:16:52 +01:00
Peter Steenbergen 181bb4c98d MycroftOS: Bump mycroft to 19.8.5 and proper systemd support.
- Make it more robust
- In preparation for watchdog support
- Do not start Mycroft if network is not up
- Wait for internet connectivity
2019-12-21 18:54:56 +01:00

16 lines
343 B
Desktop File

[Unit]
Description=Mycroft A.I. Software stack.
After=pulseaudio.service
After=network-online.target
[Service]
User=mycroft
WorkingDirectory=/home/mycroft
Type=oneshot
ExecStartPre=/bin/bash -c 'while ! ping -q -c 1 -W 1 1.1.1.1 >/dev/null 2>&1; do sleep 1; done'
ExecStart=/bin/true
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target