mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-04-28 03:20:10 +00:00
Merge pull request #506 from haiwen/set-up-script
remove SERVICE_URL from ccnet.conf
This commit is contained in:
commit
4d023b2baa
@ -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()
|
||||
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user