essentialkaos / anicorn

Simple utility for starting/restarting Unicorn
https://kaos.sh/anicorn
Apache License 2.0
1 stars 0 forks source link

Fix bug with checking dead process if it is a Unicorn #20

Closed gongled closed 6 years ago

gongled commented 6 years ago

What did you implement:

I found a bug with anicorn v2.1.5. Anicorn exits after checking dead process if it is a Unicorn. Before check we should make sure that process is running.

How did you implement it:

I added one more extra check (PID is not empty).

gongled commented 6 years ago

@andyone could you check it once again? It seems that I made a mistake last time.

andyone commented 6 years ago

Looks good for me. Version with the fix has been released.