diff options
author | Philip Withnall <withnall@endlessm.com> | 2019-06-12 09:45:26 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-10-28 09:44:31 +0100 |
commit | 9ed7de605d7c1a3290e544e92ea5de6141c26bbc (patch) | |
tree | 2f9331649c36deec0a112f6001b46ce43b3275e4 /test/fuzz | |
parent | scope: Refactor timer handling on coldplug (diff) | |
download | systemd-9ed7de605d7c1a3290e544e92ea5de6141c26bbc.tar.xz systemd-9ed7de605d7c1a3290e544e92ea5de6141c26bbc.zip |
scope: Support RuntimeMaxSec= directive in scope units
Just as `RuntimeMaxSec=` is supported for service units, add support for
it to scope units. This will gracefully kill a scope after the timeout
expires from the moment the scope enters the running state.
This could be used for time-limited login sessions, for example.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Fixes: #12035
Diffstat (limited to 'test/fuzz')
-rw-r--r-- | test/fuzz/fuzz-unit-file/directives.scope | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-unit-file/directives.scope b/test/fuzz/fuzz-unit-file/directives.scope new file mode 100644 index 0000000000..d0e194c371 --- /dev/null +++ b/test/fuzz/fuzz-unit-file/directives.scope @@ -0,0 +1,2 @@ +scope +RuntimeMaxSec= |