mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-18 13:11:57 +02:00
To avoid errors when running on a read only /lib/ file system copy the files to /var and run mycroft from there. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 lines
295 B
Desktop File
15 lines
295 B
Desktop File
[Unit]
|
|
Description=Mycroft
|
|
RequiresMountsFor=/var
|
|
After=mycroft-setup.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
WorkingDirectory=/var/mycroft
|
|
ExecStartPre=mkdir -p /var/log/mycroft
|
|
ExecStart=/var/mycroft/start-mycroft.sh all
|
|
ExecStop=/var/mycroft/stop-mycroft.sh all
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|