diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-02-03 21:59:47 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-02-03 22:28:28 +0100 |
commit | 240b57f0ca576708ebf6cfa0dfe2803fa9ff2323 (patch) | |
tree | 9a4c4cfaf298bad165e035e6744eccdd628169dd /guix/ui.scm | |
parent | 98416109d571c5c8c643064e5e3365dde8abbe0b (diff) | |
download | gnu-guix-240b57f0ca576708ebf6cfa0dfe2803fa9ff2323.tar gnu-guix-240b57f0ca576708ebf6cfa0dfe2803fa9ff2323.tar.gz |
guix system: 'reconfigure' loads and starts new services.
Partly fixes <http://bugs.gnu.org/22039>.
* gnu/services/herd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/services/shepherd.scm (shepherd-service-canonical-name): New
procedure.
(shepherd-service-file): Export.
* guix/scripts/system.scm (upgrade-shepherd-services): New procedure.
(switch-to-system): Use it.
* guix/ui.scm (info): New procedure.
* doc/guix.texi (Invoking guix system): Mention system services.
Diffstat (limited to 'guix/ui.scm')
-rw-r--r-- | guix/ui.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/ui.scm b/guix/ui.scm index 6fd16bb9cc..7310773310 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -95,6 +95,7 @@ program-name guix-warning-port warning + info guix-main)) ;;; Commentary: @@ -153,6 +154,7 @@ messages." args (... ...)))))))) (define-diagnostic warning "warning: ") ; emit a warning +(define-diagnostic info "") (define-diagnostic report-error "error: ") (define-syntax-rule (leave args ...) |