Load environment variables from /etc/default/locale
This commit is contained in:
parent
e5e15fa527
commit
183bd4bc30
@ -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
|
||||
|
@ -1,3 +1,4 @@
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/default/locale
|
||||
Environment=XDG_RUNTIME_DIR=/run/user/{{ vdr.uid }}/
|
||||
EnvironmentFile=-/var/lib/vdr/.session-env
|
||||
|
Loading…
Reference in New Issue
Block a user