summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-08 11:16:53 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-08 11:16:53 +0200
commitd60f96798dfad2c9977eb79d99a6d525b46aa33c (patch)
tree960ad9e99b5ced2d4fff20330d94b4468efc0243
parent98d51e6a55c30c156b6a82d682fc91a79300ff38 (diff)
parentfb30c438f383c086f9b1a490a3d9125c4b2ea0b3 (diff)
Merge pull request #1196 from evverx/systemctl-add-consists-of
systemctl: add ConsistsOf as the inverse of PartOf
-rw-r--r--man/systemctl.xml1
-rw-r--r--src/systemctl/systemctl.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 20d143741b..37ba4ab6de 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -918,6 +918,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
<varname>RequiresOverridable=</varname>,
<varname>Requisite=</varname>,
<varname>RequisiteOverridable=</varname>,
+ <varname>ConsistsOf=</varname>,
<varname>Wants=</varname>, <varname>BindsTo=</varname>
dependencies. If no unit is specified,
<filename>default.target</filename> is implied.</para>
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index d9523d37f2..96c39aa0a9 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -1472,6 +1472,7 @@ static int list_dependencies_get_dependencies(sd_bus *bus, const char *name, cha
"Requisite\0"
"RequisiteOverridable\0"
"Wants\0"
+ "ConsistsOf\0"
"BindsTo\0",
[DEPENDENCY_REVERSE] = "RequiredBy\0"
"RequiredByOverridable\0"