Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

supervisord for python 3?

Want to use supervisord to control the processes for my Python 3 project. It is specifically stated that "Supervisor is known to work with Python 2.4 or later but will not work under any version of Python 3".

Any suggestions for supervisor replacement for Python 3?

like image 934
user2777473 Avatar asked Nov 05 '13 19:11

user2777473


People also ask

What is Python supervisord?

Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems. It shares some of the same goals of programs like launchd, daemontools, and runit. Unlike some of these programs, it is not meant to be run as a substitute for init as “process id 1”.

Where is supervisord installed?

The per-program configuration files for Supervisor programs are located in the /etc/supervisor/conf. d directory, typically running one program per file and ending in . conf. We'll create a configuration file for this script, as`/etc/supervisor/conf.

What is supervisord in Ubuntu?

In Linux, Supervisor is a client/server system that allows users to control numerous processes over an operating system such as UNIX. The following are the key benefits of Supervisor: Convenience: Writing rc. d for all single process instances is inconvenient.


1 Answers

The upcoming 4.0 release of Supervisord will support Python 2.7, and 3.4 and up. Until then, you could use the supervisor-py3k fork.

Or simply run supervisord with Python 2; your Python 3 codebase is otherwise unaffected, as supervisord is an independent process.

like image 197
Martijn Pieters Avatar answered Sep 21 '22 23:09

Martijn Pieters