[Zope] Starting zope automatically on Linux Mandrake 8.0
Martin Skøtt
mskott@image.dk
Tue, 12 Jun 2001 18:03:32 +0200 (CEST)
Scripts need to be prepared in a special way before chkconfig can use
them. You can use what ever editor you want as long as it can save text.
Add something like this in the beginning of your script (before code, but
after #!/...):
# chkconfig: 345 90 15
# description: Start and stop the Zope server.
Do that and the chkconfig commands should work fine. Read more about
chkconfig in man chkconfig.
Martin Skøtt
mskott@image.dk
On Tue, 12 Jun 2001, Karl Munroe wrote:
> I tried to use chkconfig to add the zope service but got the following
> replies
>
> chkconfig --add zope :
> service zope does not support chkconfig
>
> chkconfig --level 345 zope on
> service zope does not support chkconfig
>
> the details of my zope install are :
>
> Unpacked from binay distrubution to /var/zope
>
> script zope in /etc/rc.d/init.d/ that I can use to start zope like so:
> /etc/rc.d/init.d/zope start
>
> Thanks in advance for you help
>
> Karl Munroe
>
> -----Original Message-----
> From: Chris Green [mailto:cmg@uab.edu]
> Sent: Monday, June 11, 2001 5:57 PM
> To: Karl Munroe
> Cc: ZOPE Mailing List
> Subject: Re: [Zope] Starting zope automatically on Linux Mandrake 8.0
>
>
> "Karl Munroe" <komunroe@uwimona.edu.jm> writes:
> >
> > I have a problem with linuxconf picking up the zope script from
> > /etc/rc.d/init/d. The file exists and it has execute permissions. I can=
:
> > ./zope {start|restart|etc..} form the command line. However, when I try=
to
> > restart the zope server from linuxconf it does not report it as a servi=
ce
> > and zope does not start automatically when the server is rebooted.
> >
>
> Try
>
> chkconfig --add zope or
> chkconfig --level 345 zope on
> --
> Chris Green <cmg@uab.edu>
> "Yeah, but you're taking the universe out of context."
>
>
> _______________________________________________
> 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 )
>