diff --git a/man/org.freedesktop.systemd1.xml b/man/org.freedesktop.systemd1.xml index 6e90662fa9..f60b3ba702 100644 --- a/man/org.freedesktop.systemd1.xml +++ b/man/org.freedesktop.systemd1.xml @@ -575,8 +575,6 @@ node /org/freedesktop/systemd1 { - - @@ -1585,6 +1583,12 @@ node /org/freedesktop/systemd1 { shouldn't be bound to a lifecycle of the service, e.g. they should continue running after the restart of the service. Note that the main PID of the service can not be migrated to an auxiliary scope. Also, flags argument must be 0 and is reserved for future extensions. + + CleanUnit() deletes the configuration, state, logs, cache and runtime data + directories and clear out the file descriptors store for the unit, as specified in the mask + parameters. The possible values are configuration, state, + logs, cache, runtime, + fdstore, and all. diff --git a/man/systemctl.xml b/man/systemctl.xml index ca101d5b75..a8bc85707b 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -569,6 +569,51 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err these three types of resources are generally redundant and reproducible on the next invocation of the unit). Note that the specified units must be stopped to invoke this operation. + + + Possible values for <option>--what=</option> + + + + + + Value + Unit Setting + + + + + runtime + RuntimeDirectory= + + + state + StateDirectory= + + + cache + CacheDirectory= + + + logs + LogsDirectory= + + + configuration + ConfigurationDirectory= + + + fdstore + FileDescriptorStorePreserve= + + + all + All of the above + + + +
+ diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index 7f85e70d40..f4576c4355 100644 --- a/shell-completion/bash/systemctl.in +++ b/shell-completion/bash/systemctl.in @@ -193,7 +193,7 @@ _systemctl () { comps='auto yes no' ;; --what) - comps='configuration state cache logs runtime all' + comps='configuration state cache logs runtime fdstore all' ;; --image) comps=$(compgen -A file -- "$cur")