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