问题:
我该如何跑步polipo
用supervisorctl
命令?
我知道我可以
polipo
运行systemctl
:
sudo systemctl start polipo.service
但:
我想控制它导师
主管会议
[program:api_my_project]
command=/home/my_project/.virtualenvs/my_project//bin/celery -A my_project worker -Q app_server_plus --loglevel=info --concurrency=2 -n my_project.%(process_num)02d
directory=/home/my_project/project_dir
user=proxy
numprocs=2
process_name=%(process_num)02d
autostart=true
autorestart=true
stopsignal=INT
startsecs=10
stopwaitsecs=600
stdout_logfile=/var/log/supervisor/api/my_project.log
stderr_logfile=/var/log/supervisor/api/my_project.log
redirect_stderr=true
environment='something'