aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2019-04-15 18:53:09 +0000
committerKhem Raj <raj.khem@gmail.com>2019-04-16 21:07:25 -0700
commit28566c13071606a9adb35ec59a269bf4d493540b (patch)
tree9fa00cae1a1e3eceea37b826860fdd8102e941ce /meta-multimedia
parentcb224dcd7f7a24ffd802a206f3f453850d7a1328 (diff)
downloadmeta-openembedded-contrib-28566c13071606a9adb35ec59a269bf4d493540b.tar.gz
mycroft: Update the systemd service to ensure we are ready to start
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r--meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service b/meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service
index 04cf436204..28729f6b16 100644
--- a/meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service
+++ b/meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service
@@ -1,10 +1,11 @@
[Unit]
Description=Mycroft
-DefaultDependencies=no
-After=mycroft-setup
+RequiresMountsFor=/var
+After=mycroft-setup.service
[Service]
Type=forking
+WorkingDirectory=@LIBDIR@/mycroft
ExecStartPre=mkdir -p /var/log/mycroft
ExecStart=@LIBDIR@/mycroft/start-mycroft.sh all
ExecStop=@LIBDIR@/mycroft/stop-mycroft.sh all