diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-06-21 19:17:38 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-06-26 15:14:41 +0200 |
commit | 9efb9df9e327932022ae78eee7f7979fa73b59ef (patch) | |
tree | 2eb6ed7c79849a9f217be0a8b74e1c44db56a428 /src/basic/unit-name.c | |
parent | 3ceb72e5582948cd81fa7018716c67ac7f17905e (diff) | |
download | systemd-9efb9df9e327932022ae78eee7f7979fa73b59ef.tar.gz |
core: make NotifyAccess= and FileDescriptorStoreMax= available to transient services
This is helpful for debugging/testing #5606.
Diffstat (limited to 'src/basic/unit-name.c')
-rw-r--r-- | src/basic/unit-name.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/basic/unit-name.c b/src/basic/unit-name.c index 0a6efa449a..920ca0d9f5 100644 --- a/src/basic/unit-name.c +++ b/src/basic/unit-name.c @@ -1047,3 +1047,12 @@ static const char* const unit_dependency_table[_UNIT_DEPENDENCY_MAX] = { }; DEFINE_STRING_TABLE_LOOKUP(unit_dependency, UnitDependency); + +static const char* const notify_access_table[_NOTIFY_ACCESS_MAX] = { + [NOTIFY_NONE] = "none", + [NOTIFY_MAIN] = "main", + [NOTIFY_EXEC] = "exec", + [NOTIFY_ALL] = "all" +}; + +DEFINE_STRING_TABLE_LOOKUP(notify_access, NotifyAccess); |