services: bitlbee: Preserve 'PURPLE_PLUGIN_PATH'.

Fixes a regression introduced in
211fe3f66e whereby, in inetd mode, and
when using 'bitlbee-purple', libpurple plugins would not be found.

* gnu/services/messaging.scm (bitlbee-shepherd-service): Pass
 #:preserved-environment-variables to 'least-authority-wrapper'.
This commit is contained in:
Ludovic Courtès 2022-05-02 14:04:27 +02:00
parent b1dd32d8e3
commit 6075d25143
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -828,6 +828,8 @@ (define bitlbee-shepherd-service
(bitlbee* (least-authority-wrapper
(file-append bitlbee "/sbin/bitlbee")
#:name "bitlbee"
#:preserved-environment-variables
'("PURPLE_PLUGIN_PATH")
#:mappings (list (file-system-mapping
(source "/var/lib/bitlbee")
(target source)