Skip to content

Instantly share code, notes, and snippets.

@romankierzkowski
Created May 7, 2018 01:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save romankierzkowski/c54c83496b3267362cc805477c4e409f to your computer and use it in GitHub Desktop.
Save romankierzkowski/c54c83496b3267362cc805477c4e409f to your computer and use it in GitHub Desktop.
Apache Superset systemd configuration file
[Unit]
Description="Apache Superset"
After=network.target
[Service]
User=superset
Group=superset
Environment=PYTHONPATH=$PYTHONPATH:/home/superset
ExecStart=/home/superset/superset-venv/bin/gunicorn -w 4 -k gevent --timeout 120 -b unix:/home/superset/gunicorn.sock --limit-request-line 0 --limit-request-field_size 0 superset:app
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment