odoo的supervisord.conf配置

odoo的supervisord.conf配置

[program:ermp]
command=python2.7.9 /home/gesion/ermp/ermp_source_code/odoo-bin -c /home/gesion/ermp/ermp_source_code/openerp-server_production_gdms.conf
# -u all
directory=/home/gesion/ermp/ermp_source_code/
environment=TEMP="/home2/tmp"
user=odoo
autostart=true
autorestart=true
stdout_logfile=/home/gesion/ermp/logs/production_gdms/ermp.log
stderr_logfile=/home/gesion/ermp/logs/production_gdms/ermp-error.log
stdout_logfile_maxbytes=500MB
stdout_logfile_backups=50
stdout_capture_maxbytes=1MB
stdout_events_enabled=false
startetries=10
startsecs=60

你可能感兴趣的:(odoo)