Manual Pages for UNIX Darwin command on man twistd
MyWebUniversity

Manual Pages for UNIX Darwin command on man twistd

TWISTD(1) TWISTD(1)

NAME

twistd - run Twisted applications (TACs, TAPs)

SYNOPSIS

ttwwiissttdd [options]

DESCRIPTION

Read an twisted.application.service.Application out of a file and runs it.

-nn, --nnooddaaeemmoonn

Don't daemonize (stay in foreground)

-qq, --qquuiieett

be a little more quiet

-pp, --pprrooffiillee

Run profiler

-bb, --ddeebbuugg

Run the application in the Python Debugger (implies nodaemon option). Sending a SIGUSR2 signal to the process will drop it into the debugger.

-oo, --nnoossaavvee

Do not save shutdown state

--oorriiggiinnaallnnaammee

Behave as though the specified Application has no process name set, and run with the standard process name (the python binary in most cases).

-ll, --llooggffiillee

Log to a specified file, - for stdout (default twistd.log). The

log file will be rotated on SIGUSR1.

--ppiiddffiillee

Save pid in specified file (default twistd.pid)

--cchhrroooott

Chroot to a supplied directory before running (default - don't

chroot). Chrooting is done before changing the current direc-

tory.

-dd, --rruunnddiirr

Change to a supplied directory before running (default .)

-rr, --rreeaaccttoorr

Choose which reactor to use. See -help-reactors for a list.

--hheellpp-rreeaaccttoorrss

List the names of possibly available reactors.

--ssppeeww Write an extremely verbose log of everything that happens. Use-

ful for debugging freezes or locks in complex code.

-ff, --ffiillee

Read the given .tap file (default twistd.tap)

-xx, --xxmmll

Load an Application from the given .tax (XML) file.

-ss, --ssoouurrccee

Load an Application from the given .tas (AOT Python source) file.

-yy, --ppyytthhoonn

Use the variable "application" from the given Python file. This

setting, if given, overrides -ff. This option implies --nnoossaavvee.

-gg, --pplluuggiinn

Read config.tac from a plugin package, as with -yy.

--ssyysslloogg

Log to syslog, not to file.

--pprreeffiixx

Use the specified prefix when logging to logfile. Default is "twisted". Note that if ttwwiissttdd is run as root, the working directory is not searched for Python modules. AUTHOR

Written by Moshe Zadka, based on twistd's help messages

REPORTING BUGS

To report a bug, visit http://twistedmatrix.com/bugs/ COPYRIGHT Copyright (C) 2003 Matthew W. Lefkowitz This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO

mktap(1) Dec 2003 TWISTD(1)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™