[gdm/gnome-3-14] systemd: import language into daemon environment



commit f8963d242a3c9b25694021fff90282997a096927
Author: Ray Strode <rstrode redhat com>
Date:   Fri Feb 27 13:39:35 2015 -0500

    systemd: import language into daemon environment
    
    By default GDM is started with a pretty blank environment.
    
    This commit makes sure that the default locale for the
    system is used.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745286

 data/Makefile.am    |    2 ++
 data/gdm.service.in |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 1b79bc3..6d57b01 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -197,6 +197,8 @@ gdm.service: $(srcdir)/gdm.service.in
        $(AM_V_GEN)sed \
                -e 's,[ ]sbindir[@],$(sbindir),g' \
                -e 's,[ ]GDM_INITIAL_VT[@],$(GDM_INITIAL_VT),g' \
+               -e 's,[ ]LANG_CONFIG_FILE[@],$(LANG_CONFIG_FILE),g' \
+               -e 's, *$$,,g' \
                < $< > $@
 systemdsystemunit += gdm.service
 CLEANFILES += gdm.service
diff --git a/data/gdm.service.in b/data/gdm.service.in
index a84da64..bfc5bb9 100644
--- a/data/gdm.service.in
+++ b/data/gdm.service.in
@@ -14,6 +14,7 @@ IgnoreSIGPIPE=no
 BusName=org.gnome.DisplayManager
 StandardOutput=syslog
 StandardError=inherit
+EnvironmentFile= LANG_CONFIG_FILE@
 
 [Install]
 Alias=display-manager.service


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