[program:ptools]
command=python manage.py runserver 0.0.0.0:9000 --noreload
; the program (relative uses PATH, can take args)
;process_name=%(program_name)s ; process_name expr (default %(program_name)s)
;numprocs=1                    ; number of processes copies to start (def 1)
directory=/var/www/html/ptools ; directory to cwd to before exec (def no cwd)
;umask=022                     ; umask for process (default None)
priority=999                  ; the relative start priority (default 999)
startsecs = 5        ; 启动 5 秒后没有异常退出，就当作已经正常启动了
autostart=true
autorestart = true   ; 程序异常退出后自动重启
startretries = 3     ; 启动失败自动重试次数，默认是 3
stdout_logfile = var/www/html/ptools/ptools.log