connectcore-demo: unify service script
Unify the service script with the bluetooth service requirement. Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
parent
b5465a7390
commit
8f7164b6cd
|
|
@ -1,12 +0,0 @@
|
||||||
[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
|
|
||||||
ExecStartPost=/bin/sleep 1
|
|
||||||
ExecStop=/etc/connectcore-demo-server stop
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
Loading…
Reference in New Issue