mirror of
https://github.com/arcan1s/queued.git
synced 2025-07-14 22:35:48 +00:00
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:
@ -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; },
|
||||
|
Reference in New Issue
Block a user