Toc
0 results found
Seven Chen
Supervisord Usage in Centos7.x (Via: Systemd)
  1. yum install python-setuptools python-pip
  2. pip install supervisor
  3. echo_supervisord_conf > /etc/supervisord.conf
  4. create init script in : /usr/lib/systemd/system/supervisord.service
    \[Unit\] Description=supervisord - Supervisor process control system for UNIX Documentation=http://supervisord.org After=network.target \[Service\] Type=forking ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf ExecReload=/usr/bin/supervisorctl reload ExecStop=/usr/bin/supervisorctl shutdown User=root</li> </ol> \[Install\] WantedBy=multi-user.target <pre><code>
本文作者:Seven Chen
版权声明:本文首发于Seven Chen的博客,转载请注明出处!