Date: Thu, 18 Apr 2019 20:23:05 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 237366] www/seahub - bind address init script Message-ID: <bug-237366-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237366 Bug ID: 237366 Summary: www/seahub - bind address init script Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ultima@freebsd.org Reporter: boris.tassou@securmail.fr Flags: maintainer-feedback?(ultima@freebsd.org) Assignee: ultima@freebsd.org Hi, I want to Seahub listen on local host, i tried to modify gunicorn.conf[1] t= o : # default localhost:8000 bind =3D "127.0.0.1:8000" But nothing changed when i restart seahub. So, i modified the init script[2] to use a variable who is already define at the beginning : --- seahub.back 2019-04-17 15:39:11.107334000 +0200 +++ seahub 2019-04-17 12:05:06.282106000 +0200 @@ -123,7 +123,7 @@ check_required_before; before_start; echo "Starting seahub at port ${seahub_port} ..." - su -m "${seafile_user}" -c "$command \"${gunicorn_exe}\" seahub.wsgi:application -c \"${gunicorn_conf}\" -b \"0.0.0.0:${seahub_port}= \" --preload --chdir \"$seafile_path/seahub\"" + su -m "${seafile_user}" -c "$command \"${gunicorn_exe}\" seahub.wsgi:application -c \"${gunicorn_conf}\" -b \"${seahub_host}:${seahub_port}\" --preload --chdir \"$seafile_path/seahub\= "" # Ensure seahub is started successfully sleep 5 [1] /usr/local/www/haiwen/conf/gunicorn.conf [2] /usr/local/etc/rc.d/seahub Thanks for the work! --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237366-7788>