I'm a newbie looking for this info. I tried to add /usr/local/zope/start at the end of rc.local, but it just sits there (and doesn't exit processing rc.local). I know this is probably more of a mandrake / linux question, but maybe not. thanx in advance.
On Wed, Jul 31, 2002 at 03:07:19PM -0400, working4aliving wrote:
I'm a newbie looking for this info. I tried to add /usr/local/zope/start at the end of rc.local, but it just sits there (and doesn't exit processing rc.local).
You need to put the start script in the background if you want to run it that way. /usr/local/zope/start & -- Paul Winkler home: http://www.slinkp.com "Muppet Labs, where the future is made - today!"
No, I don't think so. The only reason you'd need to run start asynchronously is if you are running in debug (-D) mode, which would be a bad idea for a production/always up site. Production startup is already asynchronous. Drop the -D option from your start script and try again.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Paul Winkler Sent: Wednesday, July 31, 2002 12:22 PM To: zope@zope.org Subject: Re: [Zope] Making Zope auto-start on Mandrake 8.2
On Wed, Jul 31, 2002 at 03:07:19PM -0400, working4aliving wrote:
I'm a newbie looking for this info. I tried to add /usr/local/zope/start at the end of rc.local, but it just sits there (and doesn't exit processing rc.local).
You need to put the start script in the background if you want to run it that way.
/usr/local/zope/start &
--
Paul Winkler home: http://www.slinkp.com "Muppet Labs, where the future is made - today!"
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Wed, Jul 31, 2002 at 12:33:45PM -0700, Charlie Reiman wrote:
No, I don't think so. The only reason you'd need to run start asynchronously is if you are running in debug (-D) mode, which would be a bad idea for a production/always up site. Production startup is already asynchronous.
Drop the -D option from your start script and try again.
Aha, sorry, I forgot about that. I always run in debug mode on my home (development) system. In case the original questioner is wondering: the -D parameter is given in the start script itself. Edit the script. Paul Winkler home: http://www.slinkp.com "Muppet Labs, where the future is made - today!"
I forget if I found this on Zope.org or if I hacked it or what (used to have a version where it started three separate instances, ew). But here's my Mandrake 8.2 init script. Just put it in /etc/init.d/ and run: chkconfig zope on chkconfig --list zope On Wed, 2002-07-31 at 12:22, Paul Winkler wrote:
On Wed, Jul 31, 2002 at 03:07:19PM -0400, working4aliving wrote:
I'm a newbie looking for this info. I tried to add /usr/local/zope/start at the end of rc.local, but it just sits there (and doesn't exit processing rc.local).
You need to put the start script in the background if you want to run it that way.
/usr/local/zope/start &
--
Paul Winkler home: http://www.slinkp.com "Muppet Labs, where the future is made - today!"
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Jack Coates Monkeynoodle: A Scientific Venture...
participants (4)
-
Charlie Reiman -
Jack Coates -
Paul Winkler -
working4aliving