Created
March 7, 2010 15:53
-
-
Save camwest/324431 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo_supervisord_conf > /etc/supervisord.conf #sets up the sample supervisor configuration. | |
| -- now edit the file and add your application details. Here is a sample. Replace :virtual_host with your virtual host name. | |
| [program:myapp] | |
| command=/var/www/vhosts/:virtual_host/application/start.sh | |
| autostart=true | |
| autorestart=true | |
| startretries=3 | |
| stdout_logfile=/var/www/vhosts/:virtual_host/application/log/server.log | |
| stdout_logfile_maxbytes=1MB | |
| stdout_logfile_backups=10 | |
| stderr_logfile=/var/www/vhosts/:virtual_host/application/log/error.log | |
| stderr_logfile_maxbytes=1MB | |
| stderr_logfile_backups=10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment