Enabling/disabling Apache sites requires only a reload, but apache_site restarts

André Wendt's Avatar

André Wendt

03 May, 2012 01:11 PM

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é

  1. Support Staff 2 Posted by Jonathan Weiss on 03 May, 2012 01:53 PM

    Jonathan Weiss's Avatar

    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.

  2. 3 Posted by André Wendt on 03 May, 2012 02:35 PM

    André Wendt's Avatar

    I see. Will try to contact Opscode about this. Thanks!

  3. André Wendt closed this discussion on 03 May, 2012 02:35 PM.

Comments are currently closed for this discussion. You can start a new one.