1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-01-28 17:39:44 +01:00
2019-12-22 19:29:30 +01:00

19 lines
576 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=fbv -f -d 1 /opt/mycroft/splash/logo.png > /dev/null 2>&1
ExecStartPre=/bin/bash -c 'fbv -f -d 1 /opt/mycroft/splash/waiting.png > /dev/null 2>&1;\
while ! ping -q -c 1 -W 1 1.1.1.1 >/dev/null 2>&1; do sleep 1; done'
ExecStart=/bin/true
ExecStartPost=fbv -f -d 1 /opt/mycroft/splash/logo.png > /dev/null 2>&1
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target