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.

21 lines
1.0 KiB

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