Load environment variables from /etc/default/locale

This commit is contained in:
Alexander Grothe 2018-04-24 09:34:44 +02:00
parent e5e15fa527
commit 183bd4bc30
2 changed files with 3 additions and 1 deletions

View File

@ -2345,9 +2345,10 @@ EndSection
{% endif %}
#+END_SRC
**** vdr
Set environment variables for user session on startup
Set environment variables for system locale and user session on startup
#+BEGIN_SRC conf :tangle roles/yavdr-xorg/templates/systemd/vdr-environ.j2
[Service]
EnvironmentFile=-/etc/default/locale
Environment=XDG_RUNTIME_DIR=/run/user/{{ vdr.uid }}/
EnvironmentFile=-/var/lib/vdr/.session-env
#+END_SRC

View File

@ -1,3 +1,4 @@
[Service]
EnvironmentFile=-/etc/default/locale
Environment=XDG_RUNTIME_DIR=/run/user/{{ vdr.uid }}/
EnvironmentFile=-/var/lib/vdr/.session-env