It's been my experience that understanding the inner workings of frameworks is exceptionally valuable for figuring out why things aren't behaving the way you expect them to.
Wouldn't that set the old_pid variable to the filename of the unicorn.pid.oldpid file, and then compare that filename with the pid of the new server? For example, it would expand to:
It's been my experience that understanding the inner workings of frameworks is exceptionally valuable for figuring out why things aren't behaving the way you expect them to.
I'm a little confused about these line:
Wouldn't that set the
old_pid
variable to the filename of the unicorn.pid.oldpid file, and then compare that filename with the pid of the new server? For example, it would expand to:Or am I misunderstanding something?