O
O
OM12017-02-21 19:45:58
Python
OM1, 2017-02-21 19:45:58

FreeBSD: How to set up and run a python daemon using Supervisor?

Hey!
FreeBSD on hosting, working via ssh
The task is to constantly spin/control the daemon, on python
Installed Supervisor via easy_install
When I try to service supervisor restart I have:
supervisor does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc /rc.d)

How to proceed?
In general, how to implement the task more adequately:
the script makes periodic http requests and responds to the api of a third-party service, the response is also an http request. I write in php and python, are they suitable for this task in terms of speed / resources? What to use on the remote server: daemon or something else?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2017-02-21
@OM1

service supervisord restart

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question