ARTbio / GalaxyKickStart

Ansible playbooks for Galaxy Server deployment
GNU General Public License v3.0
24 stars 22 forks source link

Set contents of /etc/default/supervisor #132

Closed mvdbeek closed 8 years ago

mvdbeek commented 8 years ago

before starting supervisor for the first time. Otherwise the supervisor process is running without the environmental variables, and if the nat_masquerade option is used (AWS needs this), the restart will fail.

@drosofff On already running instances you would need to do service supervisor stop before running the playbook again. I'm out for today, but in the future we can make sure to restart supervisor if there are any changes to the environmental variables.

Should fix #130

drosofff commented 8 years ago

not fixing #130

mvdbeek commented 8 years ago

So what's not working? Same error?

mvdbeek commented 8 years ago

So I did have the same error you reported in #130 with an IFB instance in the [aws] group (meaning proftpd_nat_masquerade: true). I have teared that one down and started a new instance with the changes in this PR, and it went fine. So I'm guessing the changes here are fine,but that in fact we need to implement the restarting mentioned in #133 (not just stopping) of supervisor for older instances.