diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-10-20 17:45:27 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-10-20 17:45:27 +0200 |
commit | 2fa4f10835b9d994f152b8097537e3f2cdc6f6e7 (patch) | |
tree | eeaf1fd1c4007b9bbebe792e5f31414555cc92c9 /units/user@.service.m4.in | |
parent | a5d5c0d2df73fdb31effe1e0f4949508f340bf59 (diff) |
units: extend stop timeout for user@.service to 120s (#4426)
By default all user and all system services get stop timeouts for 90s. This is
problematic as the user manager of course is run as system service. Thus, if
the default time-out is hit for any user service, then it will also be hit for
user@.service as a whole, thus making the whole concept useless for user
services.
This patch extends the stop timeout to 120s for user@.service hence, so that
that the user service manager has ample time to process user services timing
out.
(The other option would have been to shorten the default user service timeout,
but I think a user service should get the same timeout by default as a system
service)
Fixes: #4206
Diffstat (limited to 'units/user@.service.m4.in')
-rw-r--r-- | units/user@.service.m4.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/user@.service.m4.in b/units/user@.service.m4.in index 66aba4f985..1beb901db8 100644 --- a/units/user@.service.m4.in +++ b/units/user@.service.m4.in @@ -18,3 +18,4 @@ Slice=user-%i.slice KillMode=mixed Delegate=yes TasksMax=infinity +TimeoutStopSec=120s |