Part of canonical.launchpad.scripts.runlaunchpad View In Hierarchy
Method | __init__ | Create a TacFile object. |
Method | should_launch | Return true if this service should be launched. |
Method | logfile | Return the log file to use. |
Method | launch | Launch the service, but do not block. |
Parameters | name | A short name for the service. Used to name the pid file. |
tac_filename | The location of the TAC file, relative to this script. | |
section_name | The config section name that provides the launch, logfile and spew options. | |
pre_launch | A callable that is called before the launch process. |
Default to the value of the configuration key logfile.