Name |
Last commit
|
Last update |
---|---|---|
.. | ||
background_jobs | ||
bundle | ||
check | ||
daemon_with_pidfile | ||
mail_room | ||
pkgr_before_precompile.sh | ||
rails | ||
rake | ||
rspec | ||
spinach | ||
spring | ||
upgrade.rb | ||
web |
BigW Consortium Gitlab
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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
background_jobs | Loading commit data... | |
bundle | Loading commit data... | |
check | Loading commit data... | |
daemon_with_pidfile | Loading commit data... | |
mail_room | Loading commit data... | |
pkgr_before_precompile.sh | Loading commit data... | |
rails | Loading commit data... | |
rake | Loading commit data... | |
rspec | Loading commit data... | |
spinach | Loading commit data... | |
spring | Loading commit data... | |
upgrade.rb | Loading commit data... | |
web | Loading commit data... |