Files
meta-openembedded/meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service
Alistair Francis d8e71b65a8 mycroft: Run the files from /var
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>
2019-10-17 05:53:25 -07:00

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