Skip to content

Commit

Permalink
Notify apache to reload if any of the apache configurations change
Browse files Browse the repository at this point in the history
  • Loading branch information
gravesb committed Jan 11, 2016
1 parent ac8411c commit 79800a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/mod_rails.rb
Expand Up @@ -31,6 +31,8 @@
group 'root'
mode '0644'
only_if { platform_family?('debian') }

notifies :reload, 'service[apache2]'
end

# Allows proper default path if root path was overridden
Expand All @@ -42,6 +44,8 @@
owner 'root'
group 'root'
mode '0644'

notifies :reload, 'service[apache2]'
end

apache_module 'passenger' do
Expand Down

0 comments on commit 79800a2

Please sign in to comment.