Updating service file

This commit is contained in:
2026-02-25 00:23:08 -06:00
parent cbdd4a2952
commit 72efa94a06

View File

@@ -5,11 +5,12 @@ DefaultDependencies=no
[Service] [Service]
Type=simple Type=simple
User=pi User=sasha
WorkingDirectory=/opt/KH_Clock WorkingDirectory=/opt/KH_Clock
# SDL renders offscreen; pixels are blit directly to /dev/fb0 (Amlogic kmsdrm is unsupported) # SDL renders offscreen; pixels are blit directly to /dev/fb0 (Amlogic kmsdrm is unsupported)
Environment=SDL_VIDEODRIVER=offscreen Environment=SDL_VIDEODRIVER=offscreen
Environment=PYTHONUNBUFFERED=1
# Disable console blanking so the TV stays on # Disable console blanking so the TV stays on
ExecStartPre=/bin/sh -c 'echo -ne "\033[9;0]" > /dev/tty1' ExecStartPre=/bin/sh -c 'echo -ne "\033[9;0]" > /dev/tty1'