[SOLVED] Switching User of Gitea

Hi,

What do I have to take care of if I switch the user of my current gitea installation?

So for everyone who wants to try it as well.

useradd <USER>
usermod -aG <ALLTHEGROUPSYOUNEED> <USER>
chmod -R <USER>:<USER> <ONEVERYTHINGINYOURCONFIGANDTHECONFIGITSELF>
*If a service file for systemd is used*
Change the old user to the new one

And that should be it.