Questions tagged [Supervisor] (36)

1
answer

How to teach supervisor to monitor the process, the loader which returns the exitstatus 1?

Good afternoon. Start electrum daemon, I want to use to control supervisor. I find endless restart process. I figured out that the problem lies in the completion of the parent that starts the daemon. How can I solve it? [program:electrum] process_name=%(program_name)s_%(process_num)02d command=nohup /home/user/.local/bi...
kayley_Hamme asked April 7th 20 at 11:28
2
answers

How to configure celery to different queues for different Django projects on one server?

So has VDS. On it are two different Django with his virtual environment. In different places. Include your Celery. Installed on your system (so to speak common at all) even for RabbitMQ and run the whole thing Supervisor of the Ohm. In Django each have their different tasks (task), but one of them in each Django has the s...
Palma_Prosacco asked March 25th 20 at 13:14
1
answer

How to run rsyslog in a docker container via supervisor?

Hi all. There are 2 Docker container each have rsyslog running when you start the container via supervisor[program:rsyslogd] command=rsyslogd -n One container is the rsyslog server, the second client must send him the logs, the connection between the containers is, but the logs don't go between them. If you go into each con...
danny12 asked March 20th 20 at 12:07
0
answer

Why celery creates a lot of processes?

Good afternoon. There is a project on django, I use the hosting locum, installed under your profile supervisor and pointed the way to run celery from under env. In the settings supervisor stated "numporcs=1". On the website, in task tasks mail (sending emails - registration, activation, order etc). The problem is that their...
layla asked March 18th 20 at 20:25
1
answer

How to start puma using supervisor?

Good day! Set supervisor on ubuntu 16.04. In /etc/supervisor/conf.d created app.conf in it[program:app] directory=/root/app command=sh-c 'puma restart' autostart=true autorestart=true stderr_logfile=/var/log/supervisor/app/err.log stdout_logfile=/var/log/supervisor/app/out.log If directly in /root/app to run puma restart I...
tressa.Hermist asked March 16th 20 at 21:12
0
answer

How to build php support for gearman on windows?

A task to deploy gearman/supervisor/nginx/php The installation was carried out according to manual ( https://stackoverflow.com/questions/5580956/how-to... ) Stuck on adding a module gearman in php. In this case, the broken link to pear and do not poluchayetsya to find. Maybe you can something to replace gearman?
Johanna.Conn7 asked March 16th 20 at 13:58
4
answers

Why stop the script using exec?

Hi. The scheme is as follows: the primary server sends a media file using rsync to another server. On this server there is a script that processes the media file, calling via exec command ffmpeg with some parameters, and then sends the data via gearman back (saying that the task is completed), as well as the command to down...
Donny.Fadel asked March 15th 20 at 23:39
1
answer

How to configure supervisor that he continued to work after the crash of the script and restarted it only when editing?

supervisord.conf[program:service] command=/usr/bin/supervisor -w /home/liong/Desktop/web/NODE/service -i node_modules /home/liong/Desktop/web/NODE/service/server.js stdout_logfile=/home/liong/Desktop/web/NODE/service/std.log stderr_logfile=/home/liong/Desktop/web/NODE/service/std.log autostart=true autorestart=true user=roo...
alize69 asked March 14th 20 at 16:44
1
answer

Why supervisor doesn't see the system variables?

my_app.ini:[program:my_app] command=/bin/bash /my_app/run.sh directory=/my_app/ user=networks-runner autostart=true autorestart=true stdout_logfile=/my_app/log/service-out.log stderr_logfile=/my_app/log/service-out.log stopsignal=INT stopasgroup=true run.sh:#!/usr/bin/env bash export PROJECT_ROOT=/my_app/ source ${PROJECT_...
hilbert.Casper64 asked March 14th 20 at 15:39
1
answer

How to see logtail in the web interface of supervisord?

In the web interface of supervisord (supervisord.org/) in front of the service there is a link to "Tail-f" (address like this: site.ru:9001/logtail/service_name%3A0). Clicking on this link opens a new window, but the answer never comes to the browser. From the console supervisorctl same call (tail-f service_name:0) fulfills...
Zander.Steuber asked October 3rd 19 at 16:42