mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
least-authority: Preserve systemd LISTEN_* environment variables.
Otherwise, combining make-systemd-constructor with least-authority-wrapper would not work correctly out of the box. * guix/least-authority.scm (%precious-variables): Add "LISTEN_PID" "LISTEN_FDS" "LISTEN_FDNAMES" environment variables. Change-Id: Idd259b15463920965f530e1917d76bf97def3b7b Reviewed-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
6f53abfdab
commit
bfcfd28f9b
1 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,8 @@
|
|||
|
||||
(define %precious-variables
|
||||
;; Environment variables preserved by the wrapper by default.
|
||||
'("HOME" "USER" "LOGNAME" "DISPLAY" "XAUTHORITY" "TERM" "TZ" "PAGER"))
|
||||
'("HOME" "USER" "LOGNAME" "DISPLAY" "XAUTHORITY" "TERM" "TZ" "PAGER"
|
||||
"LISTEN_PID" "LISTEN_FDS" "LISTEN_FDNAMES")) ;for make-systemd-constructor
|
||||
|
||||
(define* (least-authority-wrapper program
|
||||
#:key (name "pola-wrapper")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue