Running Zope 2.7 as daemon
I'm still a relative linux newbie, and while I was able to install and successfully run 2.7, I have very little clues about how to run it as a daemon. I don't even know if that's exactly the word I'm looking for. I don't want to have to start it manually. Right not I start it with: runzope -X port-base=1000 This works, but it takes over my SSH shell to keep it up. I did some searching, but most of the information I found refers to earlier versions, using z2.py. Thanks, Alec Munro
If you really do want Zope running as a daemon (i.e., it launches at boot time), you'll need script that does this. How it's set up depends on your linux distro. Again, depending on distro, it will be called either an rc script or an init script.. If you just want to launch Zope from ssh (for development, say), append an ampersand (&) to the end of your command. That will detach the process from your terminal. If you start Zope this way, you should su to the user you want to run Zope as before you run it. Once you're running a publicly available server, the very next thing you should do is get a good book on Linux security. :-) HTH, Dylan On Mon, 2003-07-28 at 08:28, Alec Munro wrote:
I'm still a relative linux newbie, and while I was able to install and successfully run 2.7, I have very little clues about how to run it as a daemon. I don't even know if that's exactly the word I'm looking for. I don't want to have to start it manually. Right not I start it with: runzope -X port-base=1000 This works, but it takes over my SSH shell to keep it up. I did some searching, but most of the information I found refers to earlier versions, using z2.py. Thanks,
Alec Munro
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Hi Alec, You might want to checkout an experimental Zope 2.7b1 RPM release available at http://www.zope.org/Members/medienlabor/packages. - C On Mon, 2003-07-28 at 12:05, Dylan Reinhardt wrote:
If you really do want Zope running as a daemon (i.e., it launches at boot time), you'll need script that does this. How it's set up depends on your linux distro. Again, depending on distro, it will be called either an rc script or an init script..
If you just want to launch Zope from ssh (for development, say), append an ampersand (&) to the end of your command. That will detach the process from your terminal. If you start Zope this way, you should su to the user you want to run Zope as before you run it.
Once you're running a publicly available server, the very next thing you should do is get a good book on Linux security. :-)
HTH,
Dylan
On Mon, 2003-07-28 at 08:28, Alec Munro wrote:
I'm still a relative linux newbie, and while I was able to install and successfully run 2.7, I have very little clues about how to run it as a daemon. I don't even know if that's exactly the word I'm looking for. I don't want to have to start it manually. Right not I start it with: runzope -X port-base=1000 This works, but it takes over my SSH shell to keep it up. I did some searching, but most of the information I found refers to earlier versions, using z2.py. Thanks,
Alec Munro
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Chris McDonough <chrism@zope.com> Zope Corporation -- Chris McDonough <chris.mcdonough@cox.net> -- Chris McDonough <chris.mcdonough@cox.net>
participants (3)
-
Alec Munro -
Chris McDonough -
Dylan Reinhardt