From b2289a9ddc8b5cd8e78074ec19e8417ce702d2f8 Mon Sep 17 00:00:00 2001 From: lian Date: Wed, 5 Sep 2018 12:02:25 +0800 Subject: [PATCH] update setup/update scritps rm gunicorn access/error log --- scripts/setup-seafile-mysql.py | 5 ----- scripts/setup-seafile.sh | 5 ----- scripts/upgrade/upgrade_6.2_6.3.sh | 5 ----- 3 files changed, 15 deletions(-) diff --git a/scripts/setup-seafile-mysql.py b/scripts/setup-seafile-mysql.py index 85505bf..16b1aba 100644 --- a/scripts/setup-seafile-mysql.py +++ b/scripts/setup-seafile-mysql.py @@ -1190,11 +1190,6 @@ bind = "0.0.0.0:8000" pids_dir = '%(pids_dir)s' pidfile = os.path.join(pids_dir, 'seahub.pid') -# Logging -logs_dir = '%(logs_dir)s' -errorlog = os.path.join(logs_dir, 'gunicorn_error.log') -accesslog = os.path.join(logs_dir, 'gunicorn_access.log') - # for file upload, we need a longer timeout value (default is only 30s, too short) timeout = 1200 diff --git a/scripts/setup-seafile.sh b/scripts/setup-seafile.sh index 05a44cd..3273dcd 100755 --- a/scripts/setup-seafile.sh +++ b/scripts/setup-seafile.sh @@ -318,11 +318,6 @@ bind = "0.0.0.0:8000" pids_dir = '$default_pids_dir' pidfile = os.path.join(pids_dir, 'seahub.pid') -# Logging -logs_dir = '$default_logs_dir' -errorlog = os.path.join(logs_dir, 'gunicorn_error.log') -accesslog = os.path.join(logs_dir, 'gunicorn_access.log') - # for file upload, we need a longer timeout value (default is only 30s, too short) timeout = 1200 diff --git a/scripts/upgrade/upgrade_6.2_6.3.sh b/scripts/upgrade/upgrade_6.2_6.3.sh index 0eb8c36..a46c81e 100755 --- a/scripts/upgrade/upgrade_6.2_6.3.sh +++ b/scripts/upgrade/upgrade_6.2_6.3.sh @@ -205,11 +205,6 @@ bind = "0.0.0.0:8000" pids_dir = '$default_pids_dir' pidfile = os.path.join(pids_dir, 'seahub.pid') -# Logging -logs_dir = '$default_logs_dir' -errorlog = os.path.join(logs_dir, 'gunicorn_error.log') -accesslog = os.path.join(logs_dir, 'gunicorn_access.log') - # for file upload, we need a longer timeout value (default is only 30s, too short) timeout = 1200