mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge bc5b2e6690 into d30ffcf52f
This commit is contained in:
commit
22ef8d96a4
1 changed files with 7 additions and 0 deletions
|
|
@ -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=$$!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue