1TWISTD(1)                                                            TWISTD(1)
2
3
4

NAME

6       twistd - run Twisted applications (TACs, TAPs)
7

SYNOPSIS

9       twistd [options]
10

DESCRIPTION

12       Read  an twisted.application.service.Application out of a file and runs
13       it.
14
15       -n, --nodaemon
16              Don't daemonize (stay in foreground)
17
18       -q, --quiet
19              be a little more quiet
20
21       -p, --profile
22              Run profiler
23
24       -b, --debug
25              Run the application in the  Python  Debugger  (implies  nodaemon
26              option).   Sending  a SIGUSR2 signal to the process will drop it
27              into the debugger.
28
29       -o, --no_save
30              Do not save shutdown state
31
32       --originalname
33              Behave as though the specified Application has no  process  name
34              set,  and  run with the standard process name (the python binary
35              in most cases).
36
37       -l, --logfile <logfile>
38              Log to a specified file, - for stdout (default twistd.log).  The
39              log file will be rotated on SIGUSR1.
40
41       --pidfile <pidfile>
42              Save pid in specified file (default twistd.pid)
43
44       --chroot <directory>
45              Chroot  to a supplied directory before running (default -- don't
46              chroot).  Chrooting is done before changing the  current  direc‐
47              tory.
48
49       -d, --rundir <directory>
50              Change to a supplied directory before running (default .)
51
52       -r, --reactor <reactor>
53              Choose which reactor to use.  See --help-reactors for a list.
54
55       --help-reactors
56              List the names of possibly available reactors.
57
58       --spew Write an extremely verbose log of everything that happens.  Use‐
59              ful for debugging freezes or locks in complex code.
60
61       -f, --file <tap file>
62              Read the given .tap file (default twistd.tap)
63
64       -x, --xml <tax file>
65              Load an Application from the given .tax (XML) file.
66
67       -s, --source <tas file>
68              Load an Application from the  given  .tas  (AOT  Python  source)
69              file.
70
71       -y, --python <python file>
72              Use  the variable "application" from the given Python file. This
73              setting, if given, overrides -f.  This option implies --no_save.
74
75       -g, --plugin <plugin name>
76              Read config.tac from a plugin package, as with -y.
77
78       --syslog
79              Log to syslog, not to file.
80
81       --prefix <prefix>
82              Use the specified prefix when logging  to  logfile.  Default  is
83              "twisted".
84
85       Note  that  if  twistd  is  run  as  root, the working directory is not
86       searched for Python modules.
87

AUTHOR

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

REPORTING BUGS

92       To report a bug, visit http://twistedmatrix.com/bugs/
93
95       Copyright © 2003 Matthew W. Lefkowitz
96       This is free software; see the source for copying conditions.  There is
97       NO  warranty;  not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
98       PURPOSE.
99

SEE ALSO

101       mktap(1)
102
103
104
105                                   Dec 2003                          TWISTD(1)
Impressum