guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/06: services: syslog: Use a PID file.


From: Ludovic Courtès
Subject: 06/06: services: syslog: Use a PID file.
Date: Wed, 7 Sep 2016 09:50:03 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit afa54a38b738e6ddf4fb25757410cf7b24067b39
Author: Ludovic Courtès <address@hidden>
Date:   Wed Sep 7 11:25:00 2016 +0200

    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 2c2962c..42094b5 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]