Fixed:booth is the state of "started" on pacemaker before booth write ticket info in cib.

I tried fixing this issue by using revert the commit. 
I don't move daemon(),　instead I move the function to open a lockfile().