mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +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:
parent
5ba6985b6c
commit
a50df72b37
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user