1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 09:11:40 +02:00
gitea/cmd
zeripath 1d04e8641d
Set Setpgid on child git processes (#19865)
When Gitea is running as PID 1 git will occassionally orphan child processes leading
to (defunct) processes. This PR simply sets Setpgid to true on these child processes
meaning that these defunct processes will also be correctly reaped.

Fix #19077

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-06-03 15:36:18 +01:00
..
admin_auth_ldap_test.go
admin_auth_ldap.go
admin.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
cert.go
cmd.go
convert.go
docs.go
doctor.go [doctor] update the help with fix capabilities (#19762) 2022-05-20 05:39:52 +02:00
dump_repo.go
dump.go
embedded_stub.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
embedded.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
generate.go
hook_test.go
hook.go Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00
keys.go
mailer.go
manager_logging.go
manager.go
migrate_storage.go
migrate.go
restore_repo.go
serv.go Set Setpgid on child git processes (#19865) 2022-06-03 15:36:18 +01:00
web_acme.go Update go deps (#19665) 2022-05-10 12:32:42 +02:00
web_graceful.go
web_https.go
web.go