From a5df25786492200ca42a9a3165e0242a6ae767f8 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Fri, 13 Sep 2024 12:49:39 +0200 Subject: [PATCH] connectcore-demo-server: ccmp25: start service after bluetooth init script ConnectCore MP25 initializes the Bluetooth interface with a init script, so this commit adds a runtime dependency between the connectcore-demo-server and the cyw55512-bluetooth service. Signed-off-by: Arturo Buzarra --- .../ccmp25/connectcore-demo-server.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-digi-dey/recipes-digi/dey-examples/connectcore-demo-example/ccmp25/connectcore-demo-server.service diff --git a/meta-digi-dey/recipes-digi/dey-examples/connectcore-demo-example/ccmp25/connectcore-demo-server.service b/meta-digi-dey/recipes-digi/dey-examples/connectcore-demo-example/ccmp25/connectcore-demo-server.service new file mode 100644 index 000000000..165508aa7 --- /dev/null +++ b/meta-digi-dey/recipes-digi/dey-examples/connectcore-demo-example/ccmp25/connectcore-demo-server.service @@ -0,0 +1,11 @@ +[Unit] +Description=Initialization of ConnectCore demo server +After=busybox-httpd.service bluetooth.service cyw55512-bluetooth.service + +[Service] +Type=forking +ExecStart=/etc/connectcore-demo-server start +ExecStop=/etc/connectcore-demo-server stop + +[Install] +WantedBy=multi-user.target