]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/bus-unit-util.c
scope: Support RuntimeMaxSec= directive in scope units
[thirdparty/systemd.git] / src / shared / bus-unit-util.c
index dc7c2f41aa82769b45409afc7b4e9d0f66b6a9f0..ace17da0c7314a7447490742633935b9c77f5de9 100644 (file)
@@ -1402,6 +1402,10 @@ static int bus_append_path_property(sd_bus_message *m, const char *field, const
 }
 
 static int bus_append_scope_property(sd_bus_message *m, const char *field, const char *eq) {
+        if (streq(field, "RuntimeMaxSec"))
+
+                return bus_append_parse_sec_rename(m, field, eq);
+
         if (streq(field, "TimeoutStopSec"))
 
                 return bus_append_parse_sec_rename(m, field, eq);