1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

update SEAFILE_LOG_TO_STDOUT (#7256)

This commit is contained in:
欢乐马
2024-12-25 22:15:32 +08:00
committed by GitHub
parent 356fd64d75
commit b7b42b5854
3 changed files with 8 additions and 8 deletions

View File

@@ -175,7 +175,11 @@ function start_seafile_server () {
sleep 2
# seafile-monitor
${INSTALLPATH}/seafile-monitor.sh &>> ${TOPDIR}/logs/seafile-monitor.log &
if [[ $SEAFILE_LOG_TO_STDOUT = "true" ]]; then
${INSTALLPATH}/seafile-monitor.sh &
else
${INSTALLPATH}/seafile-monitor.sh &>> ${TOPDIR}/logs/seafile-monitor.log &
fi
sleep 1

View File

@@ -172,7 +172,7 @@ function start_seahub () {
check_init_admin;
export DJANGO_SETTINGS_MODULE=seahub.settings
$PYTHON $gunicorn_exe seahub.wsgi:application -c "${gunicorn_conf}" --preload
$PYTHON $gunicorn_exe seahub.wsgi:application -c "${gunicorn_conf}" --preload &
# Ensure seahub is started successfully
sleep 5