Skip to content
代码片段 群组 项目
  • Jacob Vosmaer's avatar
    1081a322
    Properly daemonize the mail_room process · 1081a322
    Jacob Vosmaer 创作于
    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.
    1081a322
    历史
    Properly daemonize the mail_room process
    Jacob Vosmaer 创作于
    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.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。