mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Set $LOCALE_ARCHIVE in systemd services
Systemd sets locale variables like $LANG when running services, so $LOCALE_ARCHIVE should also be set to prevent warnings like "perl: warning: Setting locale failed.".
This commit is contained in:
parent
b96835f8dd
commit
83c6b1cf3a
1 changed files with 1 additions and 0 deletions
|
@ -179,4 +179,5 @@ fi
|
|||
echo "starting systemd..."
|
||||
PATH=/run/current-system/systemd/lib/systemd \
|
||||
MODULE_DIR=/run/booted-system/kernel-modules/lib/modules \
|
||||
LOCALE_ARCHIVE=/run/current-system/sw/lib/locale/locale-archive \
|
||||
exec systemd --log-target=journal # --log-level=debug --log-target=console --crash-shell
|
||||
|
|
Loading…
Reference in a new issue