guix-commits
[Top][All Lists]
Advanced

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

06/09: services: bitlbee: Read the PID file.


From: Ludovic Courtès
Subject: 06/09: services: bitlbee: Read the PID file.
Date: Mon, 6 Feb 2017 23:08:27 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit b9a5efa59673dc9061714a9b0b15b43696bfd38c
Author: Ludovic Courtès <address@hidden>
Date:   Mon Feb 6 17:58:10 2017 +0100

    services: bitlbee: Read the PID file.
    
    * gnu/services/networking.scm (bitlbee-shepherd-service): Pass
      #:pid-file to 'make-forkexec-constructor'.
---
 gnu/services/networking.scm |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 766d979..ba04a96 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -629,7 +629,8 @@ project's documentation} for more information."
               (requirement '(user-processes loopback))
               (start #~(make-forkexec-constructor
                         (list (string-append #$bitlbee "/sbin/bitlbee")
-                              "-n" "-F" "-u" "bitlbee" "-c" #$conf)))
+                              "-n" "-F" "-u" "bitlbee" "-c" #$conf)
+                        #:pid-file "/var/run/bitlbee.pid"))
               (stop  #~(make-kill-destructor))))))))
 
 (define %bitlbee-accounts



reply via email to

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