How to Create a Systemd Linux User
Adds a new system user without a login shell and creates a home directory for the user This can be used to create a user that will run a systemd service
sudo useradd --system --no-create-home --shell /usr/sbin/nologin <username>
sudo chown -R <username>:<username> /home/<username>
References: -