tools/python/google/httpd_utils.py
def StopServers(apache2=False):
  """Calls the platform's stop command on a newly created server, forcing it
  to stop.

  The details depend on the behavior of the platform stop command. For example,
  it's often implemented to kill all running httpd processes, as implied by
  the name of this function.

  Args:
    apache2: boolean if true will cause this function to configure
             for Apache 2.x as opposed to Apache 1.3.x
  """
  script_dir = google.path_utils.ScriptDir()
  platform_util = google.platform_utils.PlatformUtility(script_dir)
  httpd = ApacheHttpd('', platform_util.GetStopHttpdCommand(), [],
                      cygserver_path=GetCygserverPath(script_dir, apache2))
  httpd.StopServer(force=True)
Calls the platform's stop command on a newly created server, forcing it
  to stop.

  The details depend on the behavior of the platform stop command. For example,
  it's often implemented to kill all running httpd processes, as implied by
  the name of this function.

  Args:
    apache2: boolean if true will cause this function to configure
             for Apache 2.x as opposed to Apache 1.3.x
  
Calls the platform's stop command on a newly created server, forcing it
to stop.

The details depend on the behavior of the platform stop command. For example,
it's often implemented to kill all running httpd processes, as implied by
the name of this function.
Calls the platform ' s stop command on a newly created server forcing it to stop . The details depend on the behavior of the platform stop command . For example it ' s often implemented to kill all running httpd processes as implied by the name of this function .
def StopServers(apache2=False):
  script_dir = google.path_utils.ScriptDir()
  platform_util = google.platform_utils.PlatformUtility(script_dir)
  httpd = ApacheHttpd('', platform_util.GetStopHttpdCommand(), [],
                      cygserver_path=GetCygserverPath(script_dir, apache2))
  httpd.StopServer(force=True)
def StopServers ( apache2 = False ) : script_dir = google . path_utils . ScriptDir ( ) platform_util = google . platform_utils . PlatformUtility ( script_dir ) httpd = ApacheHttpd ( '' , platform_util . GetStopHttpdCommand ( ) , [ ] , cygserver_path = GetCygserverPath ( script_dir , apache2 ) ) httpd . StopServer ( force = True )
Calls the platform's stop command on a newly created server, forcing it
to stop.
Calls the platform ' s stop command on a newly created server forcing it to stop .
"""Calls the platform's stop command on a newly created server, forcing it
  to stop.

  The details depend on the behavior of the platform stop command. For example,
  it's often implemented to kill all running httpd processes, as implied by
  the name of this function.

  Args:
    apache2: boolean if true will cause this function to configure
             for Apache 2.x as opposed to Apache 1.3.x
  """
apache2
boolean if true will cause this function to configure
for Apache 2.x as opposed to Apache 1.3.x
boolean if true will cause this function to configure for Apache 2 . x as opposed to Apache 1 . 3 . x