microstack/snap-overlay/templates/placement-api.ini.j2
Billy Olsen 0d7785f233 Fix snapcraft build issues
The latest version of snapcraft fails to build microstack. Chasing
it down is due to multiple staged parts which have conflicting
information. Fixing that bit causes the uwsgi services not to run
correctly.

This patch fixes the uwsgi services by no longer overriding the python
home directory, since python3 is staged into the snap we can use the
default python home.

This patch also removes the libc6 staging into the package, which should
generally be avoided.

Change-Id: I8c176689083831a0b8b56a192a9fbdfb50edbb66
2021-04-26 22:20:33 -07:00

11 lines
234 B
Django/Jinja

[uwsgi]
wsgi-file = {{ snap }}/bin/placement-api
uwsgi-socket = {{ snap_common }}/run/placement-api.sock
buffer-size = 65535
master = true
enable-threads = true
processes = 4
thunder-lock = true
lazy-apps = true
pyargv = {{ pyargv }}