systemctl-enable: warn if disabled/masked units has active triggering units
Closes #311
This commit is contained in:
+10
-1
@@ -896,6 +896,10 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
|
||||
executed. This output may be suppressed by passing <option>--quiet</option>.
|
||||
</para>
|
||||
|
||||
<para>If a unit gets disabled but its triggering units are still active, a warning containing
|
||||
the names of the triggering units is shown. <option>--no-warn</option> can be used to suppress
|
||||
the warning.</para>
|
||||
|
||||
<para>When this command is used with <option>--user</option>, the units being operated on might
|
||||
still be enabled in global scope, and thus get started automatically even after a successful
|
||||
disablement in user scope. In this case, a warning about it is shown, which can be suppressed
|
||||
@@ -1083,6 +1087,10 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
|
||||
<option>--user</option> mode, in which case the directories are below the user's home directory
|
||||
however.</para>
|
||||
|
||||
<para>If a unit gets masked but its triggering units are still active, a warning containing
|
||||
the names of the triggering units is shown. <option>--no-warn</option> can be used to suppress
|
||||
the warning.</para>
|
||||
|
||||
<xi:include href="version-info.xml" xpointer="v238"/>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -2240,7 +2248,8 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
|
||||
that are enabled in global scope,</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>when a <command>stop</command>-ped unit still has active triggering units.</para>
|
||||
<para>when a <command>stop</command>-ped, <command>disable</command>-d, or <command>mask</command>-ed
|
||||
unit still has active triggering units.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
||||
Reference in New Issue
Block a user