supervisord deployment

This commit is contained in:
kenshinx 2013-08-21 11:37:28 +08:00
parent f87c1fd61b
commit 59a7bd0169
1 changed files with 18 additions and 0 deletions

View File

@ -148,6 +148,24 @@ screenshot
## Deployment
Deployment in productive supervisord highly recommended.
```
[program:godns]
command=/usr/local/bin/godns -c /etc/godns.conf
autostart=true
autorestart=true
user=root
stdout_logfile_maxbytes = 50MB
stdoiut_logfile_backups = 20
stdout_logfile = /var/log/godns.log
```
## TODO ## TODO
* The redis cache backend * The redis cache backend