GitLab steht Mittwoch, den 08. Juli, zwischen 09:00 und 13:00 Uhr aufgrund von Wartungsarbeiten nicht zur Verfügung.

  • Jacob Vosmaer's avatar
    Properly daemonize the mail_room process · 1081a322
    Jacob Vosmaer authored
    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
daemon_with_pidfile 716 Bytes