1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 10:51:20 +03:00

systemctl: show BindsTo/BoundBy in list-dependencies

Suggested-by: Peter Mattern <matternp@arcor.de>

http://lists.freedesktop.org/archives/systemd-devel/2014-November/025437.html
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-11-22 20:21:56 -05:00
parent 6c2d07020f
commit c469089cf6

View File

@ -1480,11 +1480,13 @@ static int list_dependencies_get_dependencies(sd_bus *bus, const char *name, cha
"RequiresOverridable\0" "RequiresOverridable\0"
"Requisite\0" "Requisite\0"
"RequisiteOverridable\0" "RequisiteOverridable\0"
"Wants\0", "Wants\0"
"BindsTo\0",
[DEPENDENCY_REVERSE] = "RequiredBy\0" [DEPENDENCY_REVERSE] = "RequiredBy\0"
"RequiredByOverridable\0" "RequiredByOverridable\0"
"WantedBy\0" "WantedBy\0"
"PartOf\0", "PartOf\0"
"BoundBy\0",
[DEPENDENCY_AFTER] = "After\0", [DEPENDENCY_AFTER] = "After\0",
[DEPENDENCY_BEFORE] = "Before\0", [DEPENDENCY_BEFORE] = "Before\0",
}; };