As the maintainer, I've received this bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255009
If you'd like to run the daemon under a user different from the default git, you also need to change the ownership of the working directories, especially /var/*/gitea. The expectation is that upgrading the package will not change the ownership of already existing directories. When installing a newer version of the package, pkg appears to reset the ownership to those specified in the package. The pkg-plist has this: @owner git @group git @dir /var/db/gitea @dir /var/log/gitea @dir /var/run/gitea I believe this to be best practice. Is there a better way to have pkg create these dirs if they're missing, but not touch them if they are there already? Stefan -- Stefan Bethke <s...@lassitu.de> Fon +49 151 14070811
signature.asc
Description: Message signed with OpenPGP