>From 2292c9edd1747cda4f0b3f3b964698d3961dfc5d Mon Sep 17 00:00:00 2001
From: Alex Kost
Date: Sat, 28 Mar 2015 15:29:55 +0300
Subject: [PATCH 1/2] services: syslog-service: Fix syslog configuration.
* gnu/services/base.scm (syslog-service): Remove leading spaces from the
contents of syslog configuration.
---
gnu/services/base.scm | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 24e6d32..f5ee8f5 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -531,24 +531,24 @@ given @var{config}---an @code{} object. Optionally,
;; Snippet adapted from the GNU inetutils manual.
(define contents "
- # Log all error messages, authentication messages of
- # level notice or higher and anything of level err or
- # higher to the console.
- # Don't log private authentication messages!
- *.alert;auth.notice;authpriv.none /dev/console
+# Log all error messages, authentication messages of
+# level notice or higher and anything of level err or
+# higher to the console.
+# Don't log private authentication messages!
+*.alert;auth.notice;authpriv.none /dev/console
- # Log anything (except mail) of level info or higher.
- # Don't log private authentication messages!
- *.info;mail.none;authpriv.none /var/log/messages
+# Log anything (except mail) of level info or higher.
+# Don't log private authentication messages!
+*.info;mail.none;authpriv.none /var/log/messages
- # Same, in a different place.
- *.info;mail.none;authpriv.none /dev/tty12
+# Same, in a different place.
+*.info;mail.none;authpriv.none /dev/tty12
- # The authpriv file has restricted access.
- authpriv.* /var/log/secure
+# The authpriv file has restricted access.
+authpriv.* /var/log/secure
- # Log all the mail messages in one place.
- mail.* /var/log/maillog
+# Log all the mail messages in one place.
+mail.* /var/log/maillog
")
(mlet %store-monad
--
2.2.1