diff --git a/serve.sh b/serve.sh index 0668bde..510a070 100755 --- a/serve.sh +++ b/serve.sh @@ -11,6 +11,9 @@ shutdown() { trap shutdown SIGTERM SIGINT +if [[ $initialize = yes ]]; then + devpi-server --init +fi # Need $DEVPI_SERVERDIR devpi-server --start --host 0.0.0.0 --port $DEVPI_PORT --theme $DEVPI_THEME