Hi guys,

I've been following the list in the last few years and just dug through it but found no usable solution to my problem.

Basically my use case is this: I have a bunch of daemons that I want to embed (embed_files) in uWSGI and start them with a predefined configuration which is also embedded (embed_config). I already tried this on Linux with this build config and intial configuration:

uwsgi/buildconf/daemons.ini
[uwsgi]
bin_name = daemons
plugin_dir = .
embed_files = daemon,daemon2,daemon.conf
embed_config = daemons_config.ini

uwsgi/daemons_config.ini
[uwsgi]
socket = :3031
master = true
smart-attach-daemon = /tmp/daemon.pid sym://daemon -pid=/tmp/daemon.pid -conf=sym://daemon_conf

It more or less works (or at least reads the embedded configuration) although I think uWSGI does not parse the sym:// links in smart-attach-daemon option.

I found an old email on the mailing list about section:// and data:// embedding, but as far as I can tell section:// embedding is Linux specific (sym:// seems to be too) and there's not too much information about data:// embedding either.

So, is there any way to run a uWSGI binary with a bunch of embedded binaries and a configuration like the one above on FreeBSD?


Best,
Vladislav
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to