fix(ansible): DISPLAY und XAUTHORITY im morz-agent-Service setzen
scrot braucht X11-Zugang für Screenshots. Der systemd-Service hatte keine DISPLAY-Variable, weshalb alle Screenshot-Versuche fehlschlugen. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
15c159456a
commit
cfc450a9e7
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ Wants=network-online.target
|
|||
[Service]
|
||||
Type=simple
|
||||
User={{ signage_user }}
|
||||
Environment=DISPLAY=:0
|
||||
Environment=XAUTHORITY=/home/{{ signage_user }}/.Xauthority
|
||||
ExecStart={{ signage_binary_dest }}
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue