diff options
author | Werner Koch <[email protected]> | 2017-01-18 09:01:55 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-01-18 09:07:53 +0000 |
commit | 2312248b2e3adffa52d8a3ac4f24fe2c88f0f569 (patch) | |
tree | f9c92f7333c1c7a6d7ac5fd445a62a9a6e218a08 /doc/tools.texi | |
parent | gpg: Remove unused definitions. (diff) | |
download | gnupg-2312248b2e3adffa52d8a3ac4f24fe2c88f0f569.tar.gz gnupg-2312248b2e3adffa52d8a3ac4f24fe2c88f0f569.zip |
gpgconf: Allow "all" for --launch, --kill, and --reload.
* tools/gpgconf-comp.c (gc_component_launch): Allow -1 for COMPONENT.
(gc_component_kill): Ditto.
(gc_component_reload): For robustness change the condition to < 0.
* tools/gpgconf.c (main) <aLaunch, aKill, aReload>: Support argument
"all".
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/tools.texi')
-rw-r--r-- | doc/tools.texi | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/tools.texi b/doc/tools.texi index f0e6fe70c..bdef6a261 100644 --- a/doc/tools.texi +++ b/doc/tools.texi @@ -336,9 +336,10 @@ force an update of that file this command can be used: @item --reload [@var{component}] @opindex reload -Reload all or the given component. This is basically the same as sending -a SIGHUP to the component. Components which don't support reloading are -ignored. +Reload all or the given component. This is basically the same as +sending a SIGHUP to the component. Components which don't support +reloading are ignored. Without @var{component} or by using "all" for +@var{component} all components which are daemons are reloaded. @item --launch [@var{component}] @opindex launch @@ -346,14 +347,16 @@ If the @var{component} is not already running, start it. @command{component} must be a daemon. This is in general not required because the system starts these daemons as needed. However, external software making direct use of @command{gpg-agent} or @command{dirmngr} -may use this command to ensure that they are started. +may use this command to ensure that they are started. Using "all" for +@var{component} launches all components which are daemons. @item --kill [@var{component}] @opindex kill Kill the given component. Components which support killing are @command{gpg-agent} and @command{scdaemon}. Components which don't -support reloading are ignored. Note that as of now reload and kill -have the same effect for @command{scdaemon}. +support reloading are ignored. Using "all" for @var{component} kills +all components running as daemons. Note that as of now reload and +kill have the same effect for @command{scdaemon}. @item --create-socketdir @opindex create-socketdir |