I have a few (linux) machines which have cherrypy servers running? I do
my development on windows. Currently I have a batch file using plink
which does the following:

1. Kill -9 python
2. Uploads new code to the server
3. Restarts the server

This is obviously not ideal but was easy to do. Now I'm getting some
weird errors when I restart my server with the postgres connection.
Esssentially the server is denied connection to the host and postgres
log shows receiving an EOF from active connection.

I have autoreload disabled and am looking for a way to terminate the
python program from the command line and be able to catch it my python
program so I can close all the valid db connections. 

vinjvinj

Reply via email to