go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
43.42k stars 5.34k forks source link

reload config without forking #17976

Open 6543 opened 2 years ago

6543 commented 2 years ago

killall -s HUP gitea reload config

this can not be integrated into init scripts ... as gitea will fork into background

see https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28196

affected versions: v1.15.x - master

https://github.com/go-gitea/gitea/blob/9879e23c576a7e1352269f3d344d397f8265b4c4/modules/graceful/manager_unix.go#L166-L179

xoxys commented 12 months ago

@6543 Is this still not fixed? Reloading the Gitea config without a restart not possible?

lunny commented 12 months ago

It's still not possible.