You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
857 B

  1. --- a/scripts/seaf-fuse.sh
  2. +++ b/scripts/seaf-fuse.sh
  3. @@ -7,7 +7,7 @@ INSTALLPATH=$(dirname "${SCRIPT}")
  4. TOPDIR=$(dirname "${INSTALLPATH}")
  5. default_ccnet_conf_dir=${TOPDIR}/ccnet
  6. default_conf_dir=${TOPDIR}/conf
  7. -seaf_fuse=${INSTALLPATH}/seafile/bin/seaf-fuse
  8. +seaf_fuse=/usr/bin/seaf-fuse
  9. export PATH=${INSTALLPATH}/seafile/bin:$PATH
  10. export SEAFILE_LD_LIBRARY_PATH=${INSTALLPATH}/seafile/lib/:${INSTALLPATH}/seafile/lib64:${LD_LIBRARY_PATH}
  11. @@ -68,7 +68,7 @@ function validate_already_running () {
  12. }
  13. function warning_if_seafile_not_running () {
  14. - if ! pgrep -f "seafile-controller -c ${default_ccnet_conf_dir}" 2>/dev/null 1>&2; then
  15. + if ! pgrep -f "seafile-controller -F ${default_conf_dir}" 2>/dev/null 1>&2; then
  16. echo
  17. echo "Warning: seafile-controller not running. Have you run \"./seafile.sh start\" ?"
  18. echo