chiark / gitweb /
core: make NotifyAccess= and FileDescriptorStoreMax= available to transient services
[elogind.git] / src / basic / unit-name.c
index 21fec7316eb5be5c1c3975fe32b6bc3e2d186ec1..fb30c2527a5e40f3ca5891fcc64fa8aa78c440d0 100644 (file)
@@ -1053,3 +1053,12 @@ static const char* const unit_dependency_table[_UNIT_DEPENDENCY_MAX] = {
 
 DEFINE_STRING_TABLE_LOOKUP(unit_dependency, UnitDependency);
 #endif // 0
+
+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);