Sample Header Ad - 728x90

make changes in getty@tty1.service perist after upgrade (Debian 12)

0 votes
0 answers
27 views
On my headless home server I enabled autologin. I put
-ini
ExecStart=-/sbin/agetty --autologin av --noclear %I $TERM
in file /etc/systemd/system/getty.target.wants/getty@tty1.service. Everything worked as it should until some (not every) apt upgrade. I think something rewrites this file during upgrade process. How can I solve this problem?
Asked by Anton Vakulenko (23 rep)
Apr 11, 2025, 06:11 AM
Last activity: Apr 11, 2025, 09:28 AM