Part of canonical.launchpad.scripts
Function | make_abspath | Undocumented |
Class | Service | No class docstring; 2/2 methods documented |
Class | TacFile | No class docstring; 2/4 methods documented |
Class | MailmanService | Undocumented |
Class | CodebrowseService | Undocumented |
Class | GoogleWebService | Undocumented |
Class | MemcachedService | A local memcached service for developer environments. |
Function | stop_at_exit | Create and register an atexit hook for killing a process. |
Function | prepare_for_librarian | Undocumented |
Function | get_services_to_run | Return a list of services (TacFiles) given a list of service names. |
Function | split_out_runlaunchpad_arguments | Split the given command-line arguments into services to start and Zope |
Function | process_config_arguments | Process the arguments related to the config. |
Function | start_launchpad | Undocumented |
Function | start_librarian | Start the Librarian in the background. |
The hook will BLOCK until the process dies.
Parameters | process | An instance of subprocess.Popen. |
If no names are given, then the list of services to run comes from the launchpad configuration.
If names are given, then only run the services matching those names.
The runlaunchpad script can take an optional '-r services,...' argument. If this argument is present, then the value is returned as the first element of the return tuple. The rest of the arguments are returned as the second element of the return tuple.
Returns a tuple of the form ([service_name, ...], remaining_argv).