Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 11:18 on June 26, 2006


Automatically activate the script to prepare a zope

I installed zope 2.7 compiler. I want a button on the zope server operation. Xineted catalog do not know whether it was written in a document similar to the following
Service echo
{
Socket_type = stream
= Tcp protocol
Wait = no
User = root
Type = INTERNAL
Id = echo-stream
}
Zope can allow automatic operation.
Also, if want to write a script first detected zope whether to activate, if not initiating zope, I do not know how to write?
Thank you!

Automatically activate the script to prepare a zope

Your zope is classified as super encryption opened?
If so, it "switched on" all relations are not, as long as super encryption network received the request, it will start.

Otherwise, the first trial :
1) Start manual operation can be successful
2) then steps into shell script, and test.
3) add /etc/rc.d/rc.local path to the script. . .

Automatically activate the script to prepare a zope

I can not determine whether or not it was created as a super encryption. I started /opt/Zope/bin/runzope zope server through the implementation of this script is to start, the script contains the following elements :
Gabriel /bin/sh

PYTHON= "/usr/bin/python"
ZOPE_HOME= "/opt/Zope-2.7"
INSTANCE_HOME= "/opt/zopedata"
CONFIG_FILE= "/opt/zopedata/etc/zope.conf"
SOFTWARE_HOME= "/opt/Zope-2.7/lib/python"
PYTHONPATH= "$SOFTWARE_HOME"
Export PYTHONPATH INSTANCE_HOME SOFTWARE_HOME

ZOPE_RUN= "$SOFTWARE_HOME/Zope/Startup/run.py"

Exec "$PYTHON" "$ZOPE_RUN" C "$CONFIG_FILE" "$"

According to pull her older brother, in the sense that it is not as simple as this will be a link to the script /etc/rc.d/rc.local?
Thank you!

Automatically activate the script to prepare a zope

[quote= "Net"] addendum to your zope super encryption is opened?
If so, it "switched on" all relations are not, as long as super encryption network received the request, it will start. Quote]

In other words, if customers use ftp://host:8021 http://myhost:8080 or visit zope servers, which at this time Xineted this demon will be detected automatically activated zope server.
Note no mention of the installation files will be like zope server installed into super encryption, if I want to creating super encryption, how to set up necessary?

Thank you!

Automatically activate the script to prepare a zope

1) is not a link.
2) Opening of the first set zope model.

Automatically activate the script to prepare a zope

-->

I am a newbie, how can I set the machine to open the zope model.

Another :
I carefully read the document zope stations, starting zope section, a comment many users, who complain of official files had no mention of their installation manual translation of the zope startup and shutdown, and the use of good editing rpm binary file and the corresponding documents will be installed in the start and stop scripts.

Automatically activate the script to prepare a zope

Ah. . . Suddenly hard to say it more clearly, when you look at the main option in the compile.

Perhaps the first to call your rc.local script bars.



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com