14 lines
167 B
Bash
14 lines
167 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# stop on error
|
||
|
set -e
|
||
|
|
||
|
# start cron daemon (goes into background)
|
||
|
crond
|
||
|
|
||
|
# pull and build freshly
|
||
|
/aux/pull-n-build.sh
|
||
|
|
||
|
# run nginx
|
||
|
nginx -g "daemon off;"
|