core: bus name units should not allow aliases or instances
authorLennart Poettering <lennart@poettering.net>
Sat, 2 May 2015 15:42:55 +0000 (17:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 May 2015 22:06:44 +0000 (15:06 -0700)
src/core/busname.c

index 8e92fb4..1278c96 100644 (file)
@@ -1027,6 +1027,9 @@ const UnitVTable busname_vtable = {
                 "Install\0",
         .private_section = "BusName",
 
+        .no_alias = true,
+        .no_instances = true,
+
         .init = busname_init,
         .done = busname_done,
         .load = busname_load,