7 lines
262 B
Bash
7 lines
262 B
Bash
#!/bin/sh
|
|
# Primer build al arrancar y después cada 15 minutos; si el feed falla se conserva la web anterior.
|
|
python3 /app/build.py || true
|
|
python3 /app/server.py &
|
|
( while true; do sleep 900; python3 /app/build.py || true; done ) &
|
|
exec nginx -g 'daemon off;'
|