bin.celeryd_detach

Program used to daemonize the worker.

Using os.execv() as forking and multiprocessing leads to weird issues (it was a long time ago now, but it could have something to do with the threading mutex bug)

Module Contents

Classes

detached_celeryd(self,app=None) Daemonize the celery worker process.

Functions

detach(path,argv,logfile=None,pidfile=None,uid=None,gid=None,umask=None,workdir=None,fake=False,app=None,executable=None,hostname=None) Detach program by argv’.
main(app=None)
detach(path, argv, logfile=None, pidfile=None, uid=None, gid=None, umask=None, workdir=None, fake=False, app=None, executable=None, hostname=None)

Detach program by argv’.

class detached_celeryd(app=None)

Daemonize the celery worker process.

__init__(app=None)
create_parser(prog_name)
_add_version_argument(parser)
parse_options(prog_name, argv)
execute_from_commandline(argv=None)
_split_command_line_config(argv)
_extract_command_line_config(argv)
add_arguments(parser)
main(app=None)