I'm just writing a program which should run on linux main terminal TTY1 as a "more interactive" replacement for plymouth.
Everthing is ok. After one hour or two, the display freezed until any keystroke is pressed, lets for example assume that I run a bash loop which is displaying time, its gone after some time and only displays last iteration when some timeout occured.
My service:
[Unit]
Description=Script starter
After=getty.target
Conflicts=getty@tty1.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/screen.sh
StandardInput=tty-force
[Install]
WantedBy=multi-user.target
and script:
#!/bin/bash
while true
do
sleep 1
clear
date
done
the same issue is when I run program I wroted in c/ncurses