summaryrefslogtreecommitdiffstats
path: root/doc/tools.texi
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-06-08 14:04:47 +0200
committerWerner Koch <wk@gnupg.org>2016-06-08 14:04:47 +0200
commitcf4910419e09daf414f76ca2c8ab685c3d488ec1 (patch)
tree31c21b86682cf99cab320038695ae45350df0c5c /doc/tools.texi
parentImplement /run/user/UID/gnupg based sockets. (diff)
downloadgnupg2-cf4910419e09daf414f76ca2c8ab685c3d488ec1.tar.xz
gnupg2-cf4910419e09daf414f76ca2c8ab685c3d488ec1.zip
gpgconf: New commands --create-socketdir and --remove-socketdir.
* tools/gpgconf.c: Include unistd.h. (aCreateSocketDir, aRemoveSocketDir): New. (opts): Add --create-socketdir and --remove-socketdir. (main): Implement them. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'doc/tools.texi')
-rw-r--r--doc/tools.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/tools.texi b/doc/tools.texi
index 425790e9d..8fdaa96a7 100644
--- a/doc/tools.texi
+++ b/doc/tools.texi
@@ -319,6 +319,17 @@ gpg-agent and scdaemon. Components which don't support reloading are
ignored. Note that as of now reload and kill have the same effect for
scdaemon.
+@item --create-socketdir
+@opindex create-socketdir
+Create a directory for sockets below /run/user or /var/run/user. This
+is command is only required if a non default home directory is used
+and the /run based sockets shall be used. For the default home
+directory GnUPG creates a directory on the fly.
+
+@item --remove-socketdir
+@opindex remove-socketdir
+Remove a directory created with command @option{--create-socketdir}.
+
@end table