Skip to content

Instantly share code, notes, and snippets.

@grokdesigns
Created April 14, 2017 02:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grokdesigns/5df458e1ace786ed1b3c26ba55dc5917 to your computer and use it in GitHub Desktop.
Save grokdesigns/5df458e1ace786ed1b3c26ba55dc5917 to your computer and use it in GitHub Desktop.
Seahub Change
AROUND LINE 194
function start_seahub_fastcgi () {
before_start;
export SEAFILE_FASTCGI_HOST=0.0.0.0
# Returns 127.0.0.1 if SEAFILE_FASTCGI_HOST is unset or hasn't got any value,
# otherwise returns value of SEAFILE_FASTCGI_HOST environment variable
address=`(test -z "$SEAFILE_FASTCGI_HOST" && echo "127.0.0.1") || echo $SEAFILE_FASTCGI_HOST`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment