I've got Bottle working from my domain on the Web, using listening-on-port. The program is trivial, it just prints out a "not ready yet" message: <module>
<module>
Two issues: (1) If I run the program with: python3.1 notready.py& it works fine, and returns control to my ssh session. But when I close my netbook or otherwise stop the session, the server stops. What's a good way to handle this? (2) I also imported CherryPyServer, and changed the 'run' command to run(port=51874, server=CherryPyServer). It gives the following error. What should I do instead?
asked 13 Nov '11, 20:03 replicounts |
answered 13 Nov '11, 20:50 johns Thanks -- nohup works fine: nohup python3.1 notready.py & Note: I edited the question, to show lines correctly in the program, and in the execution with errors. Still need to learn how to run Bottle with the CherryPy server.
(13 Nov '11, 22:31)
replicounts
|