connectcore-demo-example: fix start of service

Change the condition to start after the weston service.
While on it, add a "requires" option given that weston is mandatory to have
the "cog" tool running.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
Isaac Hermida 2023-01-12 17:08:46 +01:00
parent 5a3376af21
commit b90fcda302
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
[Unit] [Unit]
Description=Initialization of the ConnectCore demo example Description=Initialization of the ConnectCore demo example
After=weston@root.service busybox-httpd.service After=weston.service busybox-httpd.service
Requires=weston.service
[Service] [Service]
Type=forking Type=forking