diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-08-27 16:56:43 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-08-27 16:56:43 +0000 |
commit | 10ee826847f956a235952fbb41d5ba589927b862 (patch) | |
tree | 477039f4f3d6c6153756b0357f9d6ea87b50496e /lib/redcarpet/render | |
parent | 30555c1d24af25aca0c6e85f52234a8a570b7691 (diff) | |
parent | 1081a322f1b846fcddb3cb77f068e2e818f9d73f (diff) | |
download | gitlab-ce-10ee826847f956a235952fbb41d5ba589927b862.tar.gz |
Merge branch 'improve-mail_room-wrapper' into 'master'
Properly daemonize the mail_room process
The old invocation only worked by accident because we have a '&'
somewhere in the init script for expediency. When ran from a terminal,
the mail_room daemon process ended up in the session of the terminal.
This commit adds a small wrapper that tries to do the textbook
daemonization steps (double fork, setsid etc.) while also taking
care that the pidfile is written before the 'start' process exits.
See merge request !1221
Diffstat (limited to 'lib/redcarpet/render')
0 files changed, 0 insertions, 0 deletions