mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-25 10:08:33 +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):
|
def generate(self):
|
||||||
print('Generating ccnet configuration ...\n')
|
print('Generating ccnet configuration ...\n')
|
||||||
with open(self.ccnet_conf, 'w') as fp:
|
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()
|
self.generate_db_conf()
|
||||||
|
|
||||||
|
@ -290,7 +290,6 @@ function gen_ccnet_conf () {
|
|||||||
ccnet_conf=${default_conf_dir}/ccnet.conf
|
ccnet_conf=${default_conf_dir}/ccnet.conf
|
||||||
if ! $(cat > ${ccnet_conf} <<EOF
|
if ! $(cat > ${ccnet_conf} <<EOF
|
||||||
[General]
|
[General]
|
||||||
SERVICE_URL = http://$ip_or_domain
|
|
||||||
EOF
|
EOF
|
||||||
); then
|
); then
|
||||||
echo "failed to generate ccnet.conf";
|
echo "failed to generate ccnet.conf";
|
||||||
|
Loading…
Reference in New Issue
Block a user