MCPcopy Create free account
hub / github.com/celery/celery / __init__

Method __init__

celery/bin/base.py:285–295  ·  view source on GitHub ↗

Initialize a Celery command with common daemon options.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

283 """Daemon commands."""
284
285 def __init__(self, *args, **kwargs):
286 """Initialize a Celery command with common daemon options."""
287 super().__init__(*args, **kwargs)
288 self.params.extend((
289 DaemonOption("--logfile", "-f", help="Log destination; defaults to stderr"),
290 DaemonOption("--pidfile", help="PID file path; defaults to no PID file"),
291 DaemonOption("--uid", help="Drops privileges to this user ID"),
292 DaemonOption("--gid", help="Drops privileges to this group ID"),
293 DaemonOption("--umask", help="Create files and directories with this umask"),
294 DaemonOption("--executable", help="Override path to the Python executable"),
295 ))
296
297
298class CommaSeparatedList(ParamType):

Callers

nothing calls this directly

Calls 3

DaemonOptionClass · 0.85
__init__Method · 0.45
extendMethod · 0.45

Tested by

no test coverage detected