How to run a script on startup using Screen on Ubuntu 20.04

Trying to find out how to run this command upon startup of Ubuntu:

su - username -c "screen -dm -S autorunner ~/Desktop/..."

This command is based off of a guide for the Raspbian and uses rc.local. I have tried to find anything more up to date describing alternatives to using rc.local for a screen script on startup and have not found anything relevant to 20.04.