1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-17 23:59:44 +00:00

Fix the arguments of ccnet init.

This commit is contained in:
ly1217
2019-10-22 19:53:25 -07:00
parent cafce2ba74
commit 171895d25e
5 changed files with 2 additions and 50 deletions

View File

@@ -806,7 +806,6 @@ class CcnetConfigurator(AbstractConfigurator):
ccnet_init,
'-F', env_mgr.central_config_dir,
'--config-dir', self.ccnet_dir,
'--name', self.server_name,
'--host', self.ip_or_domain,
]

View File

@@ -498,7 +498,6 @@ if [[ "${use_existing_ccnet}" != "true" ]]; then
if ! LD_LIBRARY_PATH=$SEAFILE_LD_LIBRARY_PATH "${ccnet_init}" \
-F "${default_conf_dir}" \
-c "${default_ccnet_conf_dir}" \
--name "${server_name}" \
--host "${ip_or_domain}"; then
err_and_quit;
fi