aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-02-06 17:58:10 +0100
committerLudovic Courtès <ludo@gnu.org>2017-02-07 00:08:10 +0100
commitb9a5efa59673dc9061714a9b0b15b43696bfd38c (patch)
tree243bbc113992f2c3722a6943e733a075eda38b82
parentf2c66fbe1f01b720741e0fe2bfa619ca2862a6b8 (diff)
downloadguix-b9a5efa59673dc9061714a9b0b15b43696bfd38c.tar
guix-b9a5efa59673dc9061714a9b0b15b43696bfd38c.tar.gz
services: bitlbee: Read the PID file.
* gnu/services/networking.scm (bitlbee-shepherd-service): Pass #:pid-file to 'make-forkexec-constructor'.
-rw-r--r--gnu/services/networking.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 766d979f3e..ba04a96d6d 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