One minute
202110010756
To set a user service to start at boot, you need:
WantedBy
to bydefault.service
sudo loginctl enable-linger $USER
systemctl --user enable <service>
- note you don’t needsudo
here- the unit file to be in
/etc/systemd/user
, not/etc/systemd/system