my for loop sucks
This commit is contained in:
parent
c30af1e75f
commit
52d0459b2d
2
start
2
start
|
@ -8,5 +8,5 @@ PERL_MB_OPT="--install_base \"$BASE/perl5\""; export PERL_MB_OPT;
|
|||
PERL_MM_OPT="INSTALL_BASE=$BASE/perl5"; export PERL_MM_OPT;
|
||||
|
||||
pkill -F $BASE/${APP}.pid 2>/dev/null
|
||||
for((;;));do pkill -0 -F $BASE/${APP}.pid 2>/dev/null || break; sleep 1; done
|
||||
while true;do pkill -0 -F $BASE/${APP}.pid 2>/dev/null || break; sleep 1; done
|
||||
plackup -s Starman -D -S $BASE/$APP/.sock -a $BASE/$APP/app.psgi --pid $BASE/${APP}.pid $START_OPTS
|
||||
|
|
Loading…
Reference in New Issue