Enabling/disabling Apache sites requires only a reload, but apache_site restarts
Hi,
when I enable or disable a site via apache_site, the log output is:
[Thu, 03 May 2012 12:55:50 +0000] DEBUG: STDOUT: Enabling site [some_apache_site]. Run '/etc/init.d/apache2 reload' to activate new configuration!
However, both actions restart the server instead of merely reloading the configuration—as seen in apache_site.rb:26
Is there any reason why Scalarium forces a restart of the server after a2ensite and a2dissite?
Thanks,
André
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Jonathan Weiss on 03 May, 2012 01:53 PM
This part of the Apache recipe is from the Opscode Apache cookbook, so I'm not sure if a reload is strictly required or not.
3 Posted by André Wendt on 03 May, 2012 02:35 PM
I see. Will try to contact Opscode about this. Thanks!
André Wendt closed this discussion on 03 May, 2012 02:35 PM.