[Twisted-Python] process manager for twisted daemons?

Tristan Seligmann mithrandi at mithrandi.net
Wed May 3 17:46:58 MDT 2017


On Thu, 4 May 2017 at 01:21 jonathan vanasco <twisted-python at 2xlp.com>
wrote:

> Is anyone deploying their twisted services with something other than
> Supervisor?  If so, I'd love to know.
>

It sounds like systemd has what you want here, and should work fine for
your Twisted services, assuming you don't have other constraints that
exclude its use.

systemctl stop <service> will temporarily stop a service, but it will be
restarted on boot if it was configured to do so. However, you can do systemctl
disable --now <service> which will remove the configuration to start it on
boot as well as stopping it. To reverse this, you would do systemctl enable
--now <service> which would reenable it and start it.

This is basically doing the same as you were doing with supervisord, but
since you can combine the operations into a single command, you don't have
to worry about forgetting to do half of the process.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20170503/95adde31/attachment-0002.html>


More information about the Twisted-Python mailing list