Unknown key name 'USER' in section 'Unit'

see: https://gitlab.manjaro.org/manjaro-arm/packages/community/rpi4-post-install/-/blob/master/stop-dmesg.service#L2

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 
Edited by Philip H