From afa54a38b738e6ddf4fb25757410cf7b24067b39 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 7 Sep 2016 11:25:00 +0200 Subject: services: syslog: Use a PID file. * gnu/services/base.scm (syslog-service-type)[start]: Remove --no-detach and use #:pid-file. --- gnu/services/base.scm | 4 ++-- 1 file 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. -- cgit v1.2.3