Auto start gui full screen

This commit is contained in:
2025-07-07 13:37:08 +02:00
parent da596241b9
commit f457489375
3 changed files with 22 additions and 8 deletions

View File

@@ -6,16 +6,16 @@ Requires=graphical.target
[Service]
Type=simple
User=root
Environment="WAYLAND_DISPLAY=wayland-0"
Environment="XDG_RUNTIME_DIR=/run/user/0"
User=weston
Group=weston
Environment="WAYLAND_DISPLAY=wayland-1"
Environment="XDG_RUNTIME_DIR=/run/user/1000"
Environment="RUST_LOG=info"
ExecStartPre=/bin/sleep 3
ExecStart=/usr/bin/gui
Restart=always
RestartSec=5
WatchdogSec=30
# Resource limits
MemoryMax=256M
CPUQuota=80%