l.s.m.runmailman : module documentation

Part of lp.services.mailman

Start and stop the Mailman processes.
Function mailmanctl Run mailmanctl command.
Function stop_mailman Alias for mailmanctl('stop').
Function start_mailman Start the Mailman master qrunner.
def mailmanctl(command, *additional_arguments, quiet=False, config=None):
Run mailmanctl command.
Parameterscommandthe command to use.
quietwhen this is true, no output will happen unless, an error happens.
configThe LaunchpadConfig object to take configuration from. Defaults to the global one.
additional_argumentsadditional command arguments to pass to the mailmanctl program.
RaisesRuntimeErrorwhen quiet is True and the command failed.
def stop_mailman(quiet=False, config=None):
Alias for mailmanctl('stop').
def start_mailman(quiet=False, config=None):
Start the Mailman master qrunner.

The client of start_mailman() is responsible for ensuring that stop_mailman() is called at the appropriate time.

Parametersquietwhen this is true, no output will happen unless, an error happens.
configThe LaunchpadConfig object to take configuration from. Defaults to the global one.
RaisesRuntimeExceptionwhen Mailman fails to start successfully.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.