diff options
Diffstat (limited to 'meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service')
| -rw-r--r-- | meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service b/meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service new file mode 100644 index 0000000000..04cf436204 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Mycroft | ||
| 3 | DefaultDependencies=no | ||
| 4 | After=mycroft-setup | ||
| 5 | |||
| 6 | [Service] | ||
| 7 | Type=forking | ||
| 8 | ExecStartPre=mkdir -p /var/log/mycroft | ||
| 9 | ExecStart=@LIBDIR@/mycroft/start-mycroft.sh all | ||
| 10 | ExecStop=@LIBDIR@/mycroft/stop-mycroft.sh all | ||
| 11 | |||
| 12 | [Install] | ||
| 13 | WantedBy=multi-user.target | ||
