summaryrefslogtreecommitdiff
path: root/src/login/logind-gperf.gperf
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-13 18:25:02 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-13 19:50:52 +0100
commit90558f315844ec35e3fd4f1a19ac38c8721c9354 (patch)
treea38c891b0bf69186e342015e04722fe6f07a4286 /src/login/logind-gperf.gperf
parent38599489e49e840291516488a3ef1b4a56198c58 (diff)
logind: add a new UserTasksMax= setting to logind.conf
This new setting configures the TasksMax= field for the slice objects we create for each user. This alters logind to create the slice unit as transient unit explicitly instead of relying on implicit generation of slice units by simply starting them. This also enables us to set a friendly description for slice units that way.
Diffstat (limited to 'src/login/logind-gperf.gperf')
-rw-r--r--src/login/logind-gperf.gperf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/logind-gperf.gperf b/src/login/logind-gperf.gperf
index 9218d098e0..8552c464cc 100644
--- a/src/login/logind-gperf.gperf
+++ b/src/login/logind-gperf.gperf
@@ -34,3 +34,4 @@ Login.IdleAction, config_parse_handle_action, 0, offsetof(Manag
Login.IdleActionSec, config_parse_sec, 0, offsetof(Manager, idle_action_usec)
Login.RuntimeDirectorySize, config_parse_tmpfs_size, 0, offsetof(Manager, runtime_dir_size)
Login.RemoveIPC, config_parse_bool, 0, offsetof(Manager, remove_ipc)
+Login.UserTasksMax, config_parse_uint64, 0, offsetof(Manager, user_tasks_max)