graphite_uwsgi

May 7, 2026 ยท View on GitHub

Manages the Graphite web uWSGI systemd socket and service.

Actions

ActionDescription
:createCreates socket and service units
:enableEnables the service
:startStarts the service
:stopStops the service
:disableDisables the service
:deleteStops, disables, and deletes units

Properties

PropertyTypeDefaultDescription
userString'graphite'Service user
groupString'graphite'Service group
base_dirString'/opt/graphite'Graphite base directory
storage_dirString'/opt/graphite/storage'Graphite storage directory
socketString'/tmp/uwsgi.sock'uWSGI socket path
socket_permissionsString'755'Socket mode
socket_userString'graphite'Socket user
socket_groupString'graphite'Socket group
workersInteger8Worker count
carbonString, nil'127.0.0.1:2003'Carbon plugin target
listen_httptrue, falsefalseListen on HTTP port
portInteger8080HTTP port
buffer_sizeString'4096'uWSGI buffer size
limit_nofileInteger1024Systemd file descriptor limit

Examples

graphite_uwsgi 'default' do
  listen_http true
  port 8080
end