guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: Set 'LC_ALL=en_US.utf8' in systemd '.service' files.


From: guix-commits
Subject: 03/03: Set 'LC_ALL=en_US.utf8' in systemd '.service' files.
Date: Mon, 13 May 2019 17:48:35 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 489d6c0dc03f1d95a3fefa6301f36cac9b50b2c3
Author: Ludovic Courtès <address@hidden>
Date:   Mon May 13 23:42:09 2019 +0200

    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.
---
 etc/guix-daemon.service.in  | 2 +-
 etc/guix-publish.service.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/guix-daemon.service.in b/etc/guix-daemon.service.in
index 99ec7c4..7b20a91 100644
--- a/etc/guix-daemon.service.in
+++ b/etc/guix-daemon.service.in
@@ -7,7 +7,7 @@ Description=Build daemon for GNU Guix
 
 [Service]
 address@hidden@/guix/profiles/per-user/root/current-guix/bin/guix-daemon 
--build-users-group=guixbuild
address@hidden@/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
diff --git a/etc/guix-publish.service.in b/etc/guix-publish.service.in
index 0526f97..e61a031 100644
--- a/etc/guix-publish.service.in
+++ b/etc/guix-publish.service.in
@@ -7,7 +7,7 @@ Description=Publish the GNU Guix store
 
 [Service]
 address@hidden@/guix/profiles/per-user/root/current-guix/bin/guix publish 
--user=nobody --port=8181
address@hidden@/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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]