Unknown key name 'USER' in section 'Unit'
systemd[1]: /usr/lib/systemd/system/stop-dmesg.service:2: Unknown key name 'USER' in section 'Unit', ignoring.
It should be in Section:
[Service]
Patch:
[Unit]
Description= Stop dmesg flooding in tty
[Service]
User=root
Type=oneshot
ExecStart=/usr/local/bin/stop-dmesg
TimeoutSec=0
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target