summaryrefslogtreecommitdiff
path: root/man/systemctl.xml
diff options
context:
space:
mode:
authorDoug Christman <douglaschristman@gmail.com>2016-06-24 02:00:35 -0400
committerMartin Pitt <martin.pitt@ubuntu.com>2016-06-24 08:00:35 +0200
commit39c38ce17c3a15f7b709536a6d7f1f7e093ac450 (patch)
treeadac9ba09b9974bdd11e836d99513e351093d0fd /man/systemctl.xml
parentceeddf79b8464469a5307a1030862c7c4fe289e9 (diff)
downloadsystemd-39c38ce17c3a15f7b709536a6d7f1f7e093ac450.tar.gz
systemctl: Create new unit files with "edit --force" (#3584)
Diffstat (limited to 'man/systemctl.xml')
-rw-r--r--man/systemctl.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 914af929c8..742da81cfe 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -481,6 +481,9 @@
<para>When used with <command>enable</command>, overwrite
any existing conflicting symlinks.</para>
+ <para>When used with <command>edit</command>, create all of the
+ specified units which do not already exist.</para>
+
<para>When used with <command>halt</command>, <command>poweroff</command>, <command>reboot</command> or
<command>kexec</command>, execute the selected operation without shutting down all units. However, all
processes will be killed forcibly and all file systems are unmounted or remounted read-only. This is hence a
@@ -1303,6 +1306,9 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
<para>If <option>--full</option> is specified, this will copy the
original units instead of creating drop-in files.</para>
+ <para>If <option>--force</option> is specified and any units do
+ not already exist, new unit files will be opened for editing.</para>
+
<para>If <option>--runtime</option> is specified, the changes will
be made temporarily in <filename>/run</filename> and they will be
lost on the next reboot.</para>