Make ambed.service systemd native. This allows to make xlx start when ambed.service is fully started up.

This commit is contained in:
Fabian Franz 2024-07-19 13:37:47 +02:00
parent bad324fdcf
commit bbe62c9ca9
4 changed files with 7 additions and 2 deletions

View file

@ -27,6 +27,7 @@
#include "ccontroller.h"
#include "cvocodecs.h"
#include "cambeserver.h"
#include <systemd/sd-daemon.h>
////////////////////////////////////////////////////////////////////////////////////////
@ -81,6 +82,7 @@ bool CAmbeServer::Start(void)
{
//
m_pThread = new std::thread(CAmbeServer::Thread, this);
sd_notify(0, "READY=1");
}
// done