redis beginner question

Roy Smith roy at panix.com
Tue Nov 15 22:11:48 EST 2011


In article <mailman.2758.1321410156.27778.python-list at python.org>,
 Jabba Laci <jabba.laci at gmail.com> wrote:

> Hi,
> 
> I'm reading the redis documentation and there is one thing that
> bothers me. For redis, you need to start a server on localhost. Is
> there an easy way that my Python script starts this server
> automatically? Before using my script, I don't want to start
> redis-server each time. When my program terminates, the server could
> be shut down automatically.
> 
> Thanks,
> 
> Laszlo

Why do you want to stop redis after your program terminates?  Generally, 
you just start redis up when the system boots and leave it running.



More information about the Python-list mailing list