aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/base.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-09-07 11:25:00 +0200
committerLudovic Courtès <ludo@gnu.org>2016-09-07 11:49:48 +0200
commitafa54a38b738e6ddf4fb25757410cf7b24067b39 (patch)
tree4cac50a0dc817fc0eb1d2d94f14306e0c91681a6 /gnu/services/base.scm
parente4a01b7d4d070fc54781af02b3f8583dee4d272e (diff)
downloadgnu-guix-afa54a38b738e6ddf4fb25757410cf7b24067b39.tar
gnu-guix-afa54a38b738e6ddf4fb25757410cf7b24067b39.tar.gz
services: syslog: Use a PID file.
* gnu/services/base.scm (syslog-service-type)[start]: Remove --no-detach and use #:pid-file.
Diffstat (limited to 'gnu/services/base.scm')
-rw-r--r--gnu/services/base.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 2c2962cd8c..42094b5fb9 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -907,8 +907,8 @@ Service Switch}, for an example."
(requirement '(user-processes))
(start #~(make-forkexec-constructor
(list #$(syslog-configuration-syslogd config)
- "--no-detach"
- "--rcfile" #$(syslog-configuration-config-file config))))
+ "--rcfile" #$(syslog-configuration-config-file config))
+ #:pid-file "/var/run/syslog.pid"))
(stop #~(make-kill-destructor))))))
;; Snippet adapted from the GNU inetutils manual.