Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528136 - www-servers/uwsgi - /etc/initd.uwsgi: add support for running multiple emperor instances
Summary: www-servers/uwsgi - /etc/initd.uwsgi: add support for running multiple empero...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-11-03 15:45 UTC by Ștefan Talpalaru
Modified: 2014-11-05 11:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/init.d/uwsgi patch (etc_init.d_uwsgi.patch,315 bytes, patch)
2014-11-03 15:46 UTC, Ștefan Talpalaru
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ștefan Talpalaru 2014-11-03 15:45:06 UTC
When using a symlink to /etc/init.d/uwsgi to run a new instance of the uwsgi daemon, you are only allowed to run apps. There is no technical reason why a new emperor can not be started this way.

Reproducible: Always
Comment 1 Ștefan Talpalaru 2014-11-03 15:46:36 UTC
Created attachment 388428 [details, diff]
/etc/init.d/uwsgi patch

This patch adds the missing functionality.
Comment 2 Ultrabug gentoo-dev 2014-11-05 11:07:44 UTC
Great idea Stefan, thanks a lot. It's in tree now.

+*uwsgi-2.0.8-r1 (05 Nov 2014)
+
+  05 Nov 2014; Ultrabug <ultrabug@gentoo.org> +uwsgi-2.0.8-r1.ebuild,
+  +files/uwsgi.initd-r4:
+  init script enable emperor in app mode thx to Stefan Talpalaru fix #528136,
+  remove bashism thx to Philipp Riegger fix #527566
+