1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-31 06:46:13 +00:00

Merge pull request #506 from haiwen/set-up-script

remove SERVICE_URL from ccnet.conf
This commit is contained in:
Daniel Pan
2021-10-12 16:10:47 +08:00
committed by GitHub
2 changed files with 1 additions and 2 deletions

View File

@@ -806,7 +806,7 @@ class CcnetConfigurator(AbstractConfigurator):
def generate(self):
print('Generating ccnet configuration ...\n')
with open(self.ccnet_conf, 'w') as fp:
fp.write('[General]\nSERVICE_URL = http://%s/\n' % self.ip_or_domain)
fp.write('[General]')
self.generate_db_conf()

View File

@@ -290,7 +290,6 @@ function gen_ccnet_conf () {
ccnet_conf=${default_conf_dir}/ccnet.conf
if ! $(cat > ${ccnet_conf} <<EOF
[General]
SERVICE_URL = http://$ip_or_domain
EOF
); then
echo "failed to generate ccnet.conf";