3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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