as a work-around I did the following:

mv /usr/bin/gnocchi-api /usr/bin/gnocchi-wsgi-api
cat << 'EOF' >> /usr/bin/gnocchi-api
GID=$(/usr/bin/id -g gnocchi)
/usr/local/bin/uwsgi /etc/gnocchi/uwsgi.ini --gid $GID
cat << 'EOF' >> /etc/gnocchi/uwsgi.ini
http =
wsgi-file = /usr/bin/gnocchi-wsgi-api
master = true
die-on-term = true
threads = 32
processes = 32
enabled-threads = true
thunder-lock = true
plugins = python
buffer-size = 65535
lazy-apps = true
add-header = Connection: close
service gnocchi-api restart

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  Broken systemd unit for gnocchi-api

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to