This commit is contained in:
Rengaraj 2015-08-28 05:58:09 +00:00
commit 22ef8d96a4

View file

@ -65,6 +65,13 @@ function start_up(){
$$PELICAN --debug --autoreload -r $$INPUTDIR -o $$OUTPUTDIR -s $$CONFFILE $$PELICANOPTS &
pelican_pid=$$!
echo $$pelican_pid > $$PELICAN_PID
#Wait loop till the output directory created since pelican server runs at the background
while [ ! -e $$OUTPUTDIR ];
do
sleep 1
done
cd $$OUTPUTDIR
$PY -m pelican.server $$port &
srv_pid=$$!