diff options
author | Alban Crequy <alban@kinvolk.io> | 2015-11-24 18:14:01 +0100 |
---|---|---|
committer | Alban Crequy <alban@kinvolk.io> | 2015-12-04 23:36:39 +0100 |
commit | b370fec2b964c9ced48379824e896f44ad02a59a (patch) | |
tree | dbd2e15f65974b41fa4c6a9a7b4b13970482f293 /src/machine/machined-dbus.c | |
parent | Merge pull request #2092 from poettering/dnssec2 (diff) | |
download | systemd-b370fec2b964c9ced48379824e896f44ad02a59a.tar.xz systemd-b370fec2b964c9ced48379824e896f44ad02a59a.zip |
nspawn: set TasksMax in machined instead of nspawn
https://github.com/systemd/systemd/issues/2016
Diffstat (limited to 'src/machine/machined-dbus.c')
-rw-r--r-- | src/machine/machined-dbus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/machine/machined-dbus.c b/src/machine/machined-dbus.c index 49e574b6ca..c6b5b1ec44 100644 --- a/src/machine/machined-dbus.c +++ b/src/machine/machined-dbus.c @@ -1325,6 +1325,10 @@ int manager_start_scope( if (r < 0) return r; + r = sd_bus_message_append(m, "(sv)", "TasksMax", "t", 8192); + if (r < 0) + return bus_log_create_error(r); + if (more_properties) { r = sd_bus_message_copy(m, more_properties, true); if (r < 0) |