I have a thin cluster set up to start 3 servers:
/etc/thin/myapp.yml
...
wait: 30
servers: 3
daemonize: true
...
and the I use thin restart -C /etc/thin/myapp.yml
to restart. However, I would like to restart each server at a time, to reduce downtime.
Is there a way to restart each server by pid
number or location for example?
wait: 30
time if your server takes longer than that to start. – Hircine