services: bitlbee: Read the PID file.

* gnu/services/networking.scm (bitlbee-shepherd-service): Pass
  #:pid-file to 'make-forkexec-constructor'.
This commit is contained in:
Ludovic Courtès 2017-02-06 17:58:10 +01:00
parent f2c66fbe1f
commit b9a5efa596
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -629,7 +629,8 @@ (define bitlbee-shepherd-service
(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