Updating service file
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user