aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/admin.scm
Commit message (Collapse)AuthorAge
* services: guix: Add 'log-file' configuration option.Ludovic Courtès2016-12-19
| | | | | | | | | * 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.
* services: rottlog: Add Rottlog to the global profile.Ludovic Courtès2016-10-03
| | | | | * gnu/services/admin.scm (rottlog-service-type): Extend PROFILE-SERVICE-TYPE.
* services: rottlog: Improve default weekly rotations.Ludovic Courtès2016-10-03
| | | | | | | | | * 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.
* services: Add rottlog.Jan Nieuwenhuizen2016-10-03
* 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>