T
T
TANK_IST2014-08-04 15:04:35
linux
TANK_IST, 2014-08-04 15:04:35

How to set up a supervisor?

Installed via apt-get, and then I do not know what to do. Where to push the config?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Osher, 2014-08-04
@miraage

My light config.
It's convenient for me that stderr and stdout are in /var/log/supervisor/* in their respective files.
Everything is on the shelves out of the box, with a minimal configuration.

[email protected]:~$ ls -la /etc/supervisor/conf.d/
total 12
drwxr-xr-x 2 root root 4096 Jul 24 10:46 .
drwxr-xr-x 3 root root 4096 Jul 23 10:58 ..
-rw-r--r-- 1 root root   90 Jul 24 10:30 superproject.conf

[email protected]:~$ cat /etc/supervisor/conf.d/superproject.conf 
[program:superproject]
command=php /home/miraage/Projects/superproject/cli.php gearman worker

I
Igor, 2014-08-04
@merryjane

The configuration file can be put in /etc/supervisor/conf.d .
And the details are well described in this instruction:
https://www.digitalocean.com/community/tutorials/h...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question