![如何与主管一起运行 polip?](https://linux22.com/image/1169421/%E5%A6%82%E4%BD%95%E4%B8%8E%E4%B8%BB%E7%AE%A1%E4%B8%80%E8%B5%B7%E8%BF%90%E8%A1%8C%20polip%EF%BC%9F.png)
问题:
我该如何跑步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'