summary refs log tree commit diff
path: root/etc/guix-publish.service.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-05-13 23:42:09 +0200
committerLudovic Courtès <ludo@gnu.org>2019-05-13 23:46:08 +0200
commit489d6c0dc03f1d95a3fefa6301f36cac9b50b2c3 (patch)
tree20639a3ddeeec09c05f249af74ca1c4043a09a6c /etc/guix-publish.service.in
parent76269f6bc4200ef79aa80a8a6160ae269c2a36c9 (diff)
downloadguix-489d6c0dc03f1d95a3fefa6301f36cac9b50b2c3.tar.gz
Set 'LC_ALL=en_US.utf8' in systemd '.service' files.
Fixes <https://bugs.gnu.org/35671>.

* etc/guix-daemon.service.in (Environment): Quote the 'GUIX_LOCPATH'
value; add 'LC_ALL'.
* etc/guix-publish.service.in (Environment): Likewise.
Diffstat (limited to 'etc/guix-publish.service.in')
-rw-r--r--etc/guix-publish.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/guix-publish.service.in b/etc/guix-publish.service.in
index 0526f97994..e61a0314ce 100644
--- a/etc/guix-publish.service.in
+++ b/etc/guix-publish.service.in
@@ -7,7 +7,7 @@ Description=Publish the GNU Guix store
 
 [Service]
 ExecStart=@localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix publish --user=nobody --port=8181
-Environment=GUIX_LOCPATH=@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale
+Environment=GUIX_LOCPATH='@localstatedir@/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8
 RemainAfterExit=yes
 StandardOutput=syslog
 StandardError=syslog