1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 01:55:32 +03:00

logind: given that we can now relatively safely shutdown sessions copes

without working cgroup empty notifications there's no need to set the
stop timeout of sessions scopes low
This commit is contained in:
Lennart Poettering 2014-02-06 19:04:51 +01:00
parent 5ba6985b6c
commit a50df72b37

View File

@ -2228,10 +2228,6 @@ int manager_start_scope(
* stop timeout for sessions, so that we don't wait
* forever. */
r = sd_bus_message_append(m, "(sv)", "TimeoutStopUSec", "t", 500 * USEC_PER_MSEC);
if (r < 0)
return r;
/* Make sure that the session shells are terminated with
* SIGHUP since bash and friends tend to ignore SIGTERM */
r = sd_bus_message_append(m, "(sv)", "SendSIGHUP", "b", true);