Added --preload when starting horizon
used --preload parameter when starting horizon dashboard. This leads to faster startup and lower memory consumption. It also fixes missing env variable DJANGO_SETTINGS_MODULE in py3. Story: 2008454 Task: 42856 Signed-off-by: Daniel Safta <daniel.safta@windriver.com> Change-Id: I3c69311602eaaf9a78d101b5b0198e9582497100
This commit is contained in:
parent
ab2f84da41
commit
8ef5cd2377
@ -62,7 +62,7 @@ start()
|
||||
echo -n "Starting $DESC..."
|
||||
|
||||
start-stop-daemon --start --quiet --background --pidfile ${PIDFILE} \
|
||||
--make-pidfile --exec ${PYTHON} -- ${EXEC} --bind ${BIND}:${PORT} \
|
||||
--make-pidfile --exec ${PYTHON} -- ${EXEC} --preload --bind ${BIND}:${PORT} \
|
||||
--worker-class ${WORKER} --workers ${WORKERS} --timeout ${TIMEOUT} \
|
||||
--log-syslog \
|
||||
--config '/usr/share/openstack-dashboard/guni_config.py' \
|
||||
|
Loading…
Reference in New Issue
Block a user