implement usage of native cgroups instead of systemd-run

* allow server to be started w\o daemon
* handle process childs
This commit is contained in:
2017-11-10 01:33:23 +03:00
parent 2bd72344ba
commit 3717d1426e
12 changed files with 228 additions and 212 deletions

View File

@ -340,7 +340,7 @@ QueuedctlCommon::QueuedctlResult QueuedctlTask::stopTask(const long long _id,
{
qCDebug(LOG_APP) << "Stop task" << _id;
auto res = QueuedCoreAdaptor::sendTaskStart(_id, _token);
auto res = QueuedCoreAdaptor::sendTaskStop(_id, _token);
QueuedctlCommon::QueuedctlResult output;
res.match([&output](const bool val) { output.status = val; },