Part of lp.scripts.runlaunchpad View In Hierarchy
Method | __init__ | Create a TacFile object. |
Method | should_launch | Return true if this service should be launched by default. |
Method | logfile | Return the log file to use. |
Method | launch | Run the service in a thread or external process. |
Inherited from Service:
Method | _setUp | Undocumented |
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.
May block long enough to kick it off, but must return control to the caller without waiting for it to shutdown.