diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-06-06 21:48:08 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-10 20:13:29 +0200 |
commit | 2853b60ab553d0692d699897f38d2c175721ba54 (patch) | |
tree | 5c1635bf22be6c6b14128bc837df945e40272e9b /src/journal-remote/log-generator.py | |
parent | 033f0ab85d9cc5e8ae66e07d4740482abb5617ef (diff) |
systemctl: prolong timeout of "systemctl daemon-reload"
Reloading or reexecuting PID 1 means the unit generators are rerun, which are
timed out at 90s. Make sure the method call asking for the reload is timed out
at twice that, so that the generators have 90s and the reload operation has 90s
too.
This reworks the daemon_reload() call in systemctl, and makes it exclusively
about reloading/reexecing. Previously it was used for other trivial method
calls too, which didn't really help readability. As the code paths are now
sufficiently different, split out the old code into a new function
trivial_method().
This call also does a similar change as
c8ad4efb277c3235d58789170af11bb3c847d655 but for the reload/reexec operation.
Fixes: #3353
Diffstat (limited to 'src/journal-remote/log-generator.py')
0 files changed, 0 insertions, 0 deletions