[Bug 204558] www/uwsgi: rc script fails with non-default Python
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Nov 15 15:45:41 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204558
Bug ID: 204558
Summary: www/uwsgi: rc script fails with non-default Python
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: demon at FreeBSD.org
Reporter: john at saltant.com
CC: koobs at FreeBSD.org
Flags: maintainer-feedback?(demon at FreeBSD.org)
Assignee: demon at FreeBSD.org
Following the addition of USE_PYTHON=concurrent (r400449), if www/uwsgi is
built against a non-default python, the rc script fails to start the daemon.
For example:
DEFAULT_VERSIONS= python=2.7 python2=2.7 python3=3.4
PYTHON_VERSION= python3.4
% pkg info -xl uwsgi | grep bin
/usr/local/bin/uwsgi-3.4
% grep bin /usr/local/etc/rc.d/uwsgi
#!/bin/sh
command=/usr/local/bin/uwsgi
command=/usr/local/bin/uwsgi
% sudo service uwsgi start
Processing uwsgi profile: foo
/usr/local/etc/rc.d/uwsgi: WARNING: run_rc_command: cannot run
/usr/local/bin/uwsgi
I believe the best solution would be to teach the rc script to understand
setting the uwsgi command on a per-profile basis.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list