Skip to content

Installation: Setup resque pool

acozine edited this page Jan 11, 2014 · 15 revisions

To set resque-pool as a service:

  1. Copy the pool_p script
    Ubuntu: cp /opt/hydradam/script/pool_q /etc/init.d/
    CentOS: cp /opt/hydradam/script/pool_q /etc/rc.d/init.d/
  2. Set ownership on the script
    Ubuntu: sudo chown root:root /etc/rc.d/init.d/pool_q
    CentOS: sudo chown root:root /etc/init.d/pool_q
  3. Set permissions on the script
    Ubuntu: sudo chmod 0755 /etc/rc.d/init.d/pool_q
    CentOS: sudo chmod 0755 /etc/init.d/pool_q
  4. (CentOS Only) Add pool_q to chkconfig so it will start automatically on reboot
    sudo chkconfig --add pool_q
  5. Start, stop, and check the status of pool_q with the standard service commands:
    sudo service pool_q start
    sudo service pool_q stop
    sudo service pool_q restart
    sudo service pool_q status
Clone this wiki locally