To deploy a bokeh application, I have a server where I run
bokeh serve --allow-websocket-origin=myurl:5006 BokehMain.py
However, I want to run bokeh as a daemon so I can close the terminal and let the app run as a service in the background.
Question Is it necessary to set up an apache server for bokeh if I want users to connect through the webbrowser instead of an SSH tunnel. (as described in this link)
Thanks for the help!
nohup bokeh serve --allow-websocket-origin=myurl:5006 BokehMain.py
nohup
, short for 'no hang up' is a command in Linux systems that keep processes running even after exiting the shell or terminal.
So, even after you close the terminal, nohup
command will continue to run the bokeh server in background.