Yes, i have found the installation at /var/www/vhosts/YourDomain.com/mattermost on my server.
You can follow this official way -> Upgrading Mattermost Server — Mattermost 5.34 documentation
At step 5., you can use 'systemctl --type=service' to find the right service.