summary refs log tree commit diff
path: root/gnu/services/admin.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-10-03 14:48:01 +0200
committerLudovic Courtès <ludo@gnu.org>2016-10-03 14:48:44 +0200
commit26cfc415be663d4c1c3ec6ce40afe7867a346a04 (patch)
treed2e135e0d5d7aa9cf8522abeb6d70bf6c035a6d4 /gnu/services/admin.scm
parent4d67ed70a396ff0d374b93ed2b9eeccdc28c04b6 (diff)
downloadguix-26cfc415be663d4c1c3ec6ce40afe7867a346a04.tar.gz
services: rottlog: Add Rottlog to the global profile.
* gnu/services/admin.scm (rottlog-service-type): Extend
PROFILE-SERVICE-TYPE.
Diffstat (limited to 'gnu/services/admin.scm')
-rw-r--r--gnu/services/admin.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/services/admin.scm b/gnu/services/admin.scm
index aeeec4e83b..d8086b78d4 100644
--- a/gnu/services/admin.scm
+++ b/gnu/services/admin.scm
@@ -109,6 +109,11 @@
    (name 'rottlog)
    (extensions (list (service-extension etc-service-type rottlog-etc)
                      (service-extension mcron-service-type
-                                        rottlog-jobs-or-default)))))
+                                        rottlog-jobs-or-default)
+
+                     ;; Add Rottlog to the global profile so users can access
+                     ;; the documentation.
+                     (service-extension profile-service-type
+                                        (compose list rottlog-rottlog))))))
 
 ;;; admin.scm ends here