0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 15:53:07 -05:00
forgejo/services/mailer
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
..
mail.go Added X-Mailer header to outgoing emails (#19562) 2022-04-30 15:40:55 +02:00
mail_comment.go Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
mail_issue.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
mail_release.go Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00
mail_repo.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
mail_test.go Move milestone to models/issues/ (#19278) 2022-04-08 17:11:15 +08:00
mailer.go Set Setpgid on child git processes (#19865) 2022-06-03 15:36:18 +01:00
mailer_test.go refactoring nits (#18188) 2022-01-05 07:27:53 +01:00
main_test.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00