From b5d0f231467e7779a5ac8be7e6c301a92c088940 Mon Sep 17 00:00:00 2001 From: jimmy201602 Date: Mon, 4 Dec 2017 19:50:56 +0800 Subject: [PATCH] modify supervisord.conf --- supervisord.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/supervisord.conf b/supervisord.conf index ac2e05ab..65858675 100755 --- a/supervisord.conf +++ b/supervisord.conf @@ -175,3 +175,12 @@ startsecs=3 stdout_logfile = /var/log/web/workeraccess.log stderr_logfile = /var/log/web/workererror.log stopasgroup=true +[program:worker4] +directory=/opt/webterminal +command=python manage.py runworker +autostart=true +autorestart=true +startsecs=3 +stdout_logfile = /var/log/web/workeraccess.log +stderr_logfile = /var/log/web/workererror.log +stopasgroup=true \ No newline at end of file