How does one create a service/startup script for Zope to start automatically upon booting a machine, particularly for Zope 2.7 I am using Fedora as the OS Do I have to use this document as a guide? http://old.zope.org/Members/markoer2/resources/howtos/resources/howtos/ redhat_startup Please let me know... Kind Regards, Andy
Anand Shah wrote:
How does one create a service/startup script for Zope to start automatically upon booting a machine, particularly for Zope 2.7
with 2.7 it's rather easy, place a symlink to INSTANCE_HOME/bin/zopectl into your init directory cheers, bernd
I am using Fedora as the OS
Do I have to use this document as a guide?
http://old.zope.org/Members/markoer2/resources/howtos/resources/howtos/ redhat_startup
Please let me know...
Kind Regards, Andy
_______________________________________________ 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 )
Hello Again, I tried this by the following command ln -s /zopeinstance/bin/zopectl in my /etc/init.d folder... but somehow it is not starting... Am i missing something? Kind Regards, Andy. Bernd Dorn wrote:
Anand Shah wrote:
How does one create a service/startup script for Zope to start automatically upon booting a machine, particularly for Zope 2.7
with 2.7 it's rather easy, place a symlink to INSTANCE_HOME/bin/zopectl into your init directory
cheers, bernd
I am using Fedora as the OS
Do I have to use this document as a guide?
http://old.zope.org/Members/markoer2/resources/howtos/resources/howtos/ redhat_startup
Please let me know...
Kind Regards, Andy
_______________________________________________ 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 )
Anand Shah wrote:
I tried this by the following command
ln -s /zopeinstance/bin/zopectl
in my /etc/init.d folder... but somehow it is not starting...
Am i missing something?
Yes. A script must be present in a runlevel directory in order to be used, and it must be named properly. Your distro probably provides tools for managing what's present in the runlevels (in RH9 there's System Settings > Server Settings > Services) but you can also just do it with symlinks at the command line. See /etc/rc5.d --jcc
Bernd Dorn wrote:
nand Shah wrote:
How does one create a service/startup script for Zope to start automatically upon booting a machine, particularly for Zope 2.7
with 2.7 it's rather easy, place a symlink to INSTANCE_HOME/bin/zopectl into your init directory
_____________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **
-- "Code generators follow the 80/20 rule. They solve most of the problems, but not all of the problems. There are always features and edge cases that will need hand-coding. Even if code generation could build 100 percent of the application, there will still be an endless supply of boring meetings about feature design." (http://www.devx.com/java/editorial/15511)
participants (3)
-
Anand Shah -
Bernd Dorn -
J Cameron Cooper