systemctl: add add-wants and add-requires verbs

This commit is contained in:
Lukas Nykryn
2014-10-08 12:44:00 +02:00
parent cb87a73b45
commit e94937df95
9 changed files with 303 additions and 40 deletions
+19
View File
@@ -1097,6 +1097,25 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
</listitem>
</varlistentry>
<varlistentry>
<term><command>add-wants <replaceable>TARGET</replaceable>
<replaceable>NAME</replaceable>...</command></term>
<term><command>add-requires <replaceable>TARGET</replaceable>
<replaceable>NAME</replaceable>...</command></term>
<listitem>
<para>Adds <literal>Wants=</literal> resp. <literal>Requires=</literal>
dependency to the specified <replaceable>TARGET</replaceable> for
one or more units. </para>
<para>This command honors <option>--system</option>,
<option>--user</option>, <option>--runtime</option> and
<option>--global</option> in a similar way as
<command>enable</command>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>link <replaceable>FILENAME</replaceable>...</command></term>