Skip to content

Commit

Permalink
Merge pull request #2029 from menivaitsi/regen-on-update
Browse files Browse the repository at this point in the history
Regenerating Nginx config files only upon app restart.
  • Loading branch information
cdonati committed May 4, 2016
2 parents bf84049 + 21d0d81 commit 261b967
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AppController/djinn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1766,10 +1766,10 @@ def update(app_names, secret)
end
Djinn.log_debug("Set apps to restart at #{ip} returned #{result} as class #{result.class}")
}
end

if my_node.is_login?
regenerate_nginx_config_files()
if my_node.is_login?
regenerate_nginx_config_files()
end
end

Djinn.log_debug("Done updating apps!")
Expand Down

0 comments on commit 261b967

Please sign in to comment.