Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [supervisord]

The tag has no usage guidance.

0
votes
2answers
292 views

Supervisord removing a process after successfully running

I have the following configuration for a process to run continuously. Apparently, it works very fine but after few hours or sometimes few minutes, the process gets terminated. Any kind of help is ...
2
votes
1answer
3k views

Run supervisord without root access

Hi I'm really new to writing scripts and I searched a lot but all that I've found is scripts with full access. I don't have access to the /etc. I'm working in a host in the cloud but I have limited ...
0
votes
1answer
136 views

Autostart supervisord 4.0.0, Ubuntu server 16.04

I installed last version from https://github.com/Supervisor/supervisor By command: python3 setup.py install Now I'm able to run supervisord manually, just by typing sudo supervisord So, after ...
0
votes
1answer
3k views

How to set environment variable in supervisord using output from a file

What is the good way to set environment variable in supervisord using output from a file? I need like: [program:prog1] command=prog1 -param1 -param2 environment=PASSWORD=`cat .password` I can use an ...
2
votes
0answers
29 views

Permission errors when running program using supervisor, but not in the shell

I have a program which is supposed to always be running. This program listens for commands in a message broker, does a file system operation upon request, and publishes the result through the same ...
1
vote
0answers
447 views

Restart a supervisor program without root

I have a two-level supervisord system on Debian Linux: In /etc/supervisor/conf.d/opus-release.conf [program:opus] user=opus command=bash -c 'cd /home/opus/projects/XXX && supervisord -n -c .....
1
vote
0answers
167 views

How to run ps-watcher as non-root

The command is ps-watcher $HOME/ps-watcher.cfg Is I run it as normal user, I got this error: Unable to open file handle FH for file '/var/run/ps-watcher.pid': Permission denied The content of ps-...
1
vote
0answers
493 views

supervisord as watchdog for various services

I tried to configure supervisord as watchdog for tomcat, redis and some other services. The goal is to automatic restart if the services are crashed or stopped. Here is my configuration for redis and ...
1
vote
0answers
56 views

how to make supervisord immediately relive once it was killed

I finished installation of supervisord on my centos6, it works also well. But I found I could use command "kill" to kill supervisord itself, and it was not able to relive. I suppose when supervisord ...
1
vote
0answers
559 views

Start my webpy server using supervisor

I am trying to start my python web.py server at boot, but I am having difficulties getting it running by itself. I have a config-file like the following. It's basically the sample file with an added ...
1
vote
0answers
785 views

Stop all processes by a user: children of supervisord are still running

I'm trying to delete a user but it keeps saying that user is currently used by process ID x I tried everything here and here, nothing works, how do I kill all the process by a certain user in order ...
0
votes
0answers
22 views

rotating different commands in supervisor

I've created a "photo frame" using raspberry pi 3b+ and the official 7" display where there is a supervisor command to launch youtube with certain city view broadcast webcam. The city has a few public ...
0
votes
0answers
162 views

supervisord unable to start jenkins service

i have created a Dockerimage which is using supervisord to start multiple services, 2 of them are working but the 3rd jenkins service start and then gets killed on its own. supervisord ubuntu@kops:~/...