diff --git a/src/gui/systemd/systemdprocessrunner.cpp b/src/gui/systemd/systemdprocessrunner.cpp index 01a5a370..ce3ee611 100644 --- a/src/gui/systemd/systemdprocessrunner.cpp +++ b/src/gui/systemd/systemdprocessrunner.cpp @@ -127,7 +127,9 @@ void SystemdProcessRunner::startProcess() // so we can be notified (see https://github.com/systemd/systemd/pull/3984) { QStringLiteral("Environment"), m_process->environment() }, { QStringLiteral("WorkingDirectory"), m_process->workingDirectory() }, - { QStringLiteral("ExecStart"), QVariant::fromValue(ExecCommandList { { m_process->program().first(), m_process->program(), false } }) } }, + { QStringLiteral("ExecStart"), QVariant::fromValue(ExecCommandList { { m_process->program().first(), m_process->program(), false } }) }, + { QStringLiteral("KillMode"), QStringLiteral("none")} + }, {} // aux is currently unused and should be passed as empty array. ); connect(new QDBusPendingCallWatcher(startReply, this),