1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-13 05:41:30 +00:00

Add rpc pipe path (#326)

* Add rpc pipe path

* Add seahub.sh env and change pipe path
This commit is contained in:
feiniks
2020-02-21 15:27:47 +08:00
committed by GitHub
parent c20b17cdbc
commit 150c90df40
5 changed files with 24 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ TOPDIR=$(dirname "${INSTALLPATH}")
default_ccnet_conf_dir=${TOPDIR}/ccnet
default_seafile_data_dir=${TOPDIR}/seafile-data
central_config_dir=${TOPDIR}/conf
seafile_rpc_pipe_path=${INSTALLPATH}/runtime
manage_py=${INSTALLPATH}/seahub/manage.py
gunicorn_conf=${TOPDIR}/conf/gunicorn.conf.py
@@ -212,6 +213,7 @@ function prepare_env() {
export CCNET_CONF_DIR=${default_ccnet_conf_dir}
export SEAFILE_CONF_DIR=${default_seafile_data_dir}
export SEAFILE_CENTRAL_CONF_DIR=${central_config_dir}
export SEAFILE_RPC_PIPE_PATH=${seafile_rpc_pipe_path}
export PYTHONPATH=${INSTALLPATH}/seafile/lib/python3.6/site-packages:${INSTALLPATH}/seafile/lib64/python3.6/site-packages:${INSTALLPATH}/seahub:${INSTALLPATH}/seahub/thirdpart:$PYTHONPATH