superset
superset copied to clipboard
[Feature request] Provide option to run superset as a daemon or service
Make sure these boxes are checked before submitting your issue - thank you!
- [x] I have checked the superset logs for python stacktraces and included it here as text if any
- [x] I have reproduced the issue with at least the latest released version of superset
- [x] I have checked the issue tracker for the same issue and I haven't found one similar
Superset version
0.18.5
- Run superset in daemon mode, for example
superset runserver -p 8088 -bin which-bmeans background, and also provide command to stop the daemon, for example,superset stopserver - Run superset as a service in linux,
service superset start|stop|restart - When running in foreground mode, make it work with supervisord. I tried to manage it with supervisord, and failed to kill the process when running
supervisorctl stop superset, please help.
- why add more code when the init systems already handle that?
- you can already do that now by adding proper configuration to your init system
- superset behaves exactly like any other flask / gunicorn app out there, i suspect there's plenty of documentation on how to handle it.
Most companies are opinionated about how to do that so it's hard to please everyone.
Take a look at : https://github.com/apache/incubator-superset/issues/2123#issuecomment-305240815