summaryrefslogtreecommitdiff
path: root/gnu/services/admin.scm
AgeCommit message (Collapse)Author
2016-12-19services: guix: Add 'log-file' configuration option.Ludovic Courtès
* gnu/services/base.scm (<guix-configuration>)[log-file]: New field. (guix-shepherd-service): Pass #:log-file to 'make-forkexec-constructor'. * gnu/services/admin.scm (simple-rotation-config): Take a list of files and join them with commas. (%default-rotations): Add /var/log/guix-daemon.log. * doc/guix.texi (Base Services): Document it.
2016-10-03services: rottlog: Add Rottlog to the global profile.Ludovic Courtès
* gnu/services/admin.scm (rottlog-service-type): Extend PROFILE-SERVICE-TYPE.
2016-10-03services: rottlog: Improve default weekly rotations.Ludovic Courtès
* gnu/services/admin.scm (%rotated-files): Add "/var/log/maillog". (syslog-rotation-config): Change parameter to 'files'. Return a string-append gexp for all of FILES. (simple-rotation-config): Remove unnecessary 'postrotate' and 'endscript'. (%default-rotations): Adjust accordingly.
2016-10-03services: Add rottlog.Jan Nieuwenhuizen
* gnu/services/admin.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Log Rotation): New node. Co-authored-by: Ludovic Courtès <ludo@gnu.org>