Created
May 7, 2018 01:30
-
-
Save romankierzkowski/c54c83496b3267362cc805477c4e409f to your computer and use it in GitHub Desktop.
Apache Superset systemd configuration file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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