diff options
author | Luca Boccassi <bluca@debian.org> | 2022-09-29 23:41:55 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2022-09-30 14:25:31 +0200 |
commit | ace212f577572bcbab5a464d13bf09418a6e7fa4 (patch) | |
tree | d5b2d5a295ce3de9405f6af4b9dd864f97e5a914 /man/portablectl.xml | |
parent | Merge pull request #24831 from poettering/dbus-dump-doc (diff) | |
download | systemd-ace212f577572bcbab5a464d13bf09418a6e7fa4.tar.xz systemd-ace212f577572bcbab5a464d13bf09418a6e7fa4.zip |
portablectl: add --force attach/detach
Allows to skip check that ensures units must not be running.
I have a use case that would use reattach, except the orchestrator
is using a non-standard versioning scheme, so image matching cannot
work. As a workaround, need to be able to detach and then attach
manually, without stopping the units to avoid extended downtimes
and loss of FD store.
Diffstat (limited to 'man/portablectl.xml')
-rw-r--r-- | man/portablectl.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man/portablectl.xml b/man/portablectl.xml index ed2089c63a..64927a2fe6 100644 --- a/man/portablectl.xml +++ b/man/portablectl.xml @@ -374,6 +374,13 @@ and detaching.</para></listitem> </varlistentry> + <varlistentry> + <term><option>--force</option></term> + + <listitem><para>Skip safety checks and attach or detach images (with extensions) without first ensuring + that the units are not running.</para></listitem> + </varlistentry> + <xi:include href="user-system-options.xml" xpointer="host" /> <xi:include href="user-system-options.xml" xpointer="machine" /> |