1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00

nspawn: set TasksMax in machined instead of nspawn

https://github.com/systemd/systemd/issues/2016
This commit is contained in:
Alban Crequy 2015-11-24 18:14:01 +01:00
parent 8eb3655cdb
commit b370fec2b9
2 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -105,10 +105,6 @@ int register_machine(
return bus_log_create_error(r);
}
r = sd_bus_message_append(m, "(sv)", "TasksMax", "t", 8192);
if (r < 0)
return bus_log_create_error(r);
r = sd_bus_message_append(m, "(sv)", "DevicePolicy", "s", "strict");
if (r < 0)
return bus_log_create_error(r);