Right now, tangled's knot server will always try reading some things from /home/git/, like /home/git/log which is hard-coded to that value for server (but not for the keys subcommand)
I ask for the ability to either:
- change the user that tangled's knot server runs under (i.e via env)
- allow changing the log directory via
.knot.env - default to using
whoamito determine the current user instead of hard-codedgit
The reason that the default setup doesn't work for me is because the git user is already handled by Forgejo, and I was merely aiming to test out Tangled's knotserver on our infra
I have tried simply replacing /home/git/log in keyfetch/keyfetch.go but that seems to have caused it to respond with fatal: '' does not appear to be a git repository when trying to actually push anything.
for context, if it matters, it really was just a one-line change that I applied: