I installed gitea with snap on Ubuntu some weeks ago.
Yesterday the service stopped to work and after digging into to logs I found that systemd service file had beed changed.
The file is:
/etc/systemd/system/snap.gitea.web.service
I had previously modified it adding
[Service]
User=gitea
Group=gitea
but yesterday these modifications disappeared.
What can be the cause? Who can help me?
systemctl edit snap.gitea.web.service
and add your modifications to the override file. See https://askubuntu.com/a/659268/158442 – muru Feb 09 '24 at 02:40