diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-08 00:52:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-08 00:52:14 +0200 |
commit | 50159e6a776143be076f8ebe73a8a59447050698 (patch) | |
tree | 3772af7a12f310130bfa534c75265d9bb4b6dbac /unit.c | |
parent | 09082a94b64f0b3b6cec44d4d8f423ab9abd1630 (diff) |
execute: make kill mode configurable
Diffstat (limited to 'unit.c')
-rw-r--r-- | unit.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1439,3 +1439,11 @@ static const char* const unit_dependency_table[_UNIT_DEPENDENCY_MAX] = { }; DEFINE_STRING_TABLE_LOOKUP(unit_dependency, UnitDependency); + +static const char* const kill_mode_table[_KILL_MODE_MAX] = { + [KILL_PROCESS] = "process", + [KILL_PROCESS_GROUP] = "process-group", + [KILL_CONTROL_GROUP] = "control-group" +}; + +DEFINE_STRING_TABLE_LOOKUP(kill_mode, KillMode); |