]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bus-unit-util: BindNetworkInterface= is a cgroup property 40202/head
authorMike Yuan <me@yhndnzj.com>
Wed, 24 Dec 2025 17:13:06 +0000 (18:13 +0100)
committerMike Yuan <me@yhndnzj.com>
Sat, 27 Dec 2025 22:47:55 +0000 (23:47 +0100)
src/shared/bus-unit-util.c

index c0d665a404a124de2487cbbb5862745694dd69dc..0b9e6ba073b670ec5d1b8513cda1a03d8d9514ee 100644 (file)
@@ -2370,6 +2370,7 @@ static const BusProperty cgroup_properties[] = {
         { "SocketBindDeny",                        bus_append_socket_filter                      },
         { "MemoryPressureThresholdSec",            bus_append_parse_sec_rename                   },
         { "NFTSet",                                bus_append_nft_set                            },
+        { "BindNetworkInterface",                  bus_append_string                             },
 
         /* While infinity is disallowed in unit file, infinity is allowed in D-Bus API which
          * means use the default memory pressure duration from oomd.conf. */
@@ -2551,7 +2552,6 @@ static const BusProperty execute_properties[] = {
         { "StateDirectoryAccounting",              bus_append_parse_boolean                      },
         { "CacheDirectoryAccounting",              bus_append_parse_boolean                      },
         { "LogsDirectoryAccounting",               bus_append_parse_boolean                      },
-        { "BindNetworkInterface",                  bus_append_string                             },
 
         { NULL, bus_try_append_resource_limit,     dump_resource_limits                          },
         {}