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
1 changed files with 2 additions and 1 deletions

View File

@ -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