diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-30 22:45:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-30 23:04:36 +0200 |
commit | 2528a7a62c4ad9b2f4773b608d208239299da50c (patch) | |
tree | de5fa60c236e8da0df509d1583fb5369ae66828f /man | |
parent | b2bb3dbed9607c440b1a9ccacc515e28136d39ae (diff) |
unit: introduce AllowIsolate= switch
Diffstat (limited to 'man')
-rw-r--r-- | man/systemctl.xml | 8 | ||||
-rw-r--r-- | man/systemd.unit.xml | 17 |
2 files changed, 23 insertions, 2 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml index 1c5c884f8c..6af8e61d06 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -341,8 +341,12 @@ <listitem><para>Start the unit specified on the command line and its - dependencies and stop all - others.</para></listitem> + dependencies and stop all others. Note + that this works only on units where + <option>AllowIsolate=</option> is + enabled. See + <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry> + for details.</para></listitem> </varlistentry> <varlistentry> <term><command>is-active [NAME...]</command></term> diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index bb11682fc6..250989fe0f 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -485,6 +485,23 @@ </varlistentry> <varlistentry> + <term><varname>AllowIsolate=</varname></term> + + <listitem><para>Takes a boolean + argument. If <option>true</option> + this unit may be used with the + <command>systemctl isolate</command> + command. Otherwise this will be + refused. It probably is a good idea to + leave this disabled except for target + units that shall be used similar to + runlevels in SysV init systems, just + as a precaution to avoid unusable + system states. This option defaults to + <option>false</option>.</para></listitem> + </varlistentry> + + <varlistentry> <term><varname>DefaultDependencies=</varname></term> <listitem><para>Takes a boolean |