2019-02-04 12:55:48 +01:00
|
|
|
[Unit]
|
2019-12-21 18:54:56 +01:00
|
|
|
Description=Mycroft A.I. Software stack.
|
2019-02-04 12:55:48 +01:00
|
|
|
After=pulseaudio.service
|
2019-12-21 18:54:56 +01:00
|
|
|
After=network-online.target
|
2019-02-04 12:55:48 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=mycroft
|
|
|
|
WorkingDirectory=/home/mycroft
|
2019-12-21 18:54:56 +01:00
|
|
|
Type=oneshot
|
2019-12-22 12:48:16 +01:00
|
|
|
ExecStartPre=fbv -f -d 1 /opt/mycroft/splash/logo.png > /dev/null 2>&1
|
2019-12-22 19:29:30 +01:00
|
|
|
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'
|
2019-12-21 18:54:56 +01:00
|
|
|
ExecStart=/bin/true
|
2019-12-22 19:29:30 +01:00
|
|
|
ExecStartPost=fbv -f -d 1 /opt/mycroft/splash/logo.png > /dev/null 2>&1
|
2019-12-21 18:54:56 +01:00
|
|
|
RemainAfterExit=yes
|
2019-02-04 12:55:48 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|