Joined December 2013
·

Hannes Maack

Hamburg
·
·

If someone starts mailman in the rails environment the pid should created in the tmp/pids directory. Therefor I set the dir in the script/mailman_daemon file like this:

Daemons.run 'script/mailman_server', 
  dir: File.expand_path(File.join(File.dirname(__FILE__), '..', 'tmp', 'pids')), 
  dir_mode: :normal

This is important for restarting mailman_daemon together with capistrano.

Achievements
9 Karma
0 Total ProTip Views
Interests & Skills