Reply
Contributor
Posts: 29
Registered: ‎10-15-2015

sentry-store package and startup script?

Hello,

 

there is a problem with startup script in sentry-store package - startup sometimes fails, because pidfile is not created on background in time.

 

In my testing cluster I've used this crazy construct to wait (after setry startup command):

    i=0
    while ! test -f ${PIDFILE} -a $i -lt 100; do sleep 0.1; done

But simple 'sleep 1' could solve it too. :-)