Load environment variables from /etc/default/locale
This commit is contained in:
parent
e5e15fa527
commit
183bd4bc30
@ -2345,9 +2345,10 @@ EndSection
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
**** vdr
|
**** 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
|
#+BEGIN_SRC conf :tangle roles/yavdr-xorg/templates/systemd/vdr-environ.j2
|
||||||
[Service]
|
[Service]
|
||||||
|
EnvironmentFile=-/etc/default/locale
|
||||||
Environment=XDG_RUNTIME_DIR=/run/user/{{ vdr.uid }}/
|
Environment=XDG_RUNTIME_DIR=/run/user/{{ vdr.uid }}/
|
||||||
EnvironmentFile=-/var/lib/vdr/.session-env
|
EnvironmentFile=-/var/lib/vdr/.session-env
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
[Service]
|
[Service]
|
||||||
|
EnvironmentFile=-/etc/default/locale
|
||||||
Environment=XDG_RUNTIME_DIR=/run/user/{{ vdr.uid }}/
|
Environment=XDG_RUNTIME_DIR=/run/user/{{ vdr.uid }}/
|
||||||
EnvironmentFile=-/var/lib/vdr/.session-env
|
EnvironmentFile=-/var/lib/vdr/.session-env
|
||||||
|
Loading…
Reference in New Issue
Block a user