systemd: Support OOMPolicy in scope units

Closes #25376.
This commit is contained in:
Mark Laws
2022-11-24 19:41:28 +09:00
parent 09cd639a59
commit 5fa098357e
5 changed files with 33 additions and 3 deletions
+3
View File
@@ -2142,6 +2142,9 @@ static int bus_append_scope_property(sd_bus_message *m, const char *field, const
if (STR_IN_SET(field, "User", "Group"))
return bus_append_string(m, field, eq);
if (streq(field, "OOMPolicy"))
return bus_append_string(m, field, eq);
return 0;
}