diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-05-12 11:41:55 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-12 21:22:52 +0200 |
commit | 5463fe512a02eb186ad95a1cae9d2682dbe2ccd0 (patch) | |
tree | db0566b79c8f85c742f2b34a3da3459da7044d57 /daemon.am | |
parent | 6ad2e17e8e44064c22c79b530a02fcc78ae85b5b (diff) | |
download | guix-5463fe512a02eb186ad95a1cae9d2682dbe2ccd0.tar.gz guix-5463fe512a02eb186ad95a1cae9d2682dbe2ccd0.zip |
publish: Add '--user' option.
* guix/scripts/publish.scm (show-help): Add --user.
(%options): Likewise.
(run-publish-server): Change 'port' parameter to 'socket'. Pass
#:socket instead of #:addr and #:port to 'run-server'. Update caller
accordingly.
(open-server-socket, gather-user-privileges): New procedures.
(guix-publish): Use them. Force %PRIVATE-KEY and %PUBLIC-KEY early
on. Warn when running as root.
* doc/guix.texi (Invoking guix publish): Document --user.
Diffstat (limited to 'daemon.am')
0 files changed, 0 insertions, 0 deletions