Skip to content
代码片段 群组 项目
提交 1081a322 编辑于 作者: Jacob Vosmaer's avatar Jacob Vosmaer
浏览文件

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.
上级 abb5b9f6
分支
标签
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
想要评论请 注册