Are you sure this is all necessary? We run rails with runit and unicorn all over the place and have never seen anything like this. 

I thought the whole point of non using sysv init was so we don't have to write shit like this.