mirror of
https://github.com/LX3JL/xlxd.git
synced 2026-04-21 06:13:43 +00:00
Make ambed.service systemd native. This allows to make xlx start when ambed.service is fully started up.
This commit is contained in:
parent
bad324fdcf
commit
bbe62c9ca9
4 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue