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 <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2024-09-13 12:49:39 +02:00
parent 6107312f03
commit a5df257864
1 changed files with 11 additions and 0 deletions

View File

@ -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