[Twisted-Python] supporting start/stop/restart behavior
Clark C. Evans
cce at clarkevans.com
Fri Mar 21 16:01:17 EST 2003
On Thu, Mar 20, 2003 at 04:08:32PM -0600, Glyph Lefkowitz wrote:
| On Thursday, March 20, 2003, at 12:08 PM, Clark C. Evans wrote:
| >Can be 'started' using: twistd -y test.py
| > and 'stopped' using: twistd -y test.py stop
| > and 'restarted' using: twistd -y test.py restart
|
| I think I like this patch, because if I understand correctly, -y isn't
| a requirement :-). This should work fine with 'twistd -f test.tap
| restart', correct?
Correct. It is 'othogonal' to the other functions of twistd.
| There should probably be some more defined interactions with
| persistence. But I like the direction. Can some other
| twisted.internet wizard evaluate as well?
Given that it sends the appropriate signal (shutdown), if
taps are used it should save/restore appropriately.
Clark
More information about the Twisted-Python
mailing list