mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1f0638747b
By default Gitea will always unlink any sockets that are provided using the `LISTEN_FDS` environment variable. This is because it uses this variable to handle passing when it is doing a graceful restart. However, this same mechanism is used by systemd - which explicitly expects that passed in sockets should not be unlinked by the receiving process. This PR adjusts Gitea's graceful restart mechanism to use an additional environment variable which tracks if a listening socket was opened by Gitea - and therefore should be unlinked on shutdown by Gitea. Fix #20490 Co-authored-by: zeripath <art27@cantab.net> |
3 years ago | |
---|---|---|
.. | ||
context.go | 3 years ago | |
manager.go | 3 years ago | |
manager_unix.go | 3 years ago | |
manager_windows.go | 3 years ago | |
net_unix.go | 3 years ago | |
net_windows.go | 3 years ago | |
restart_unix.go | 3 years ago | |
server.go | 3 years ago | |
server_hooks.go | 5 years ago | |
server_http.go | 3 years ago |