summaryrefslogtreecommitdiff
path: root/man/systemctl.xml
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2022-12-17 21:07:32 +0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-12-20 15:59:11 +0100
commitf206809b9740aa601c5bb73e80e6ed20fa76ed0f (patch)
tree4e9c2792e0901569699c0c02acb509bcd80055ac /man/systemctl.xml
parent616b8101b7cf3d31406fa1ec385268cbee81a52b (diff)
downloadsystemd-f206809b9740aa601c5bb73e80e6ed20fa76ed0f.tar.gz
systemctl: new option --drop-in for specifying drop-in filename
Previously 'systemctl edit' would only operate on 'override.conf', but users may need more than that. Thus the new option '--drop-in' is added to allow users to specify the drop-in file name. Closes #25767
Diffstat (limited to 'man/systemctl.xml')
-rw-r--r--man/systemctl.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 193f6b9800..a4023349d5 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -1061,6 +1061,9 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
temporary files which will be written to the real location if the
editor exits successfully.</para>
+ <para>If <option>--drop-in=</option> is specified, the given drop-in file name
+ will be used instead of the default <filename>override.conf</filename>.</para>
+
<para>If <option>--full</option> is specified, this will copy the
original units instead of creating drop-in files.</para>
@@ -2417,6 +2420,15 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
<listitem><para>When used with <command>bind</command>, creates a read-only bind mount.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--drop-in=</option></term>
+
+ <listitem>
+ <para>When used with <command>edit</command>, use the given drop-in file name instead of
+ <filename>override.conf</filename>.</para>
+ </listitem>
+ </varlistentry>
+
<xi:include href="user-system-options.xml" xpointer="host" />
<xi:include href="user-system-options.xml" xpointer="machine" />