[email protected] wrote:
> Send Setup mailing list submissions to
>       [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.plone.org/mailman/listinfo/setup
> or, via email, send a message with subject or body 'help' to
>       [email protected]
>
> You can reach the person managing the list at
>       [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Setup digest..."
>
>
> Today's Topics:
>
>    1. automatic start of Plone at boot time (bokjeld)
>    2. Re: Plone Installer for Mac Failed - Deleted Most
>       Applications! (Steve McMahon)
>    3. Re: Plone Installer for Mac Failed - Deleted Most
>       Applications! (Steve McMahon)
>    4. Re: automatic start of Plone at boot time (bokjeld)
>    5. Re: zip code to separate visitors? (KOVACS Ferenc)
>       (Benedek Zoltan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 18 Sep 2010 10:57:02 -0700 (PDT)
> From: bokjeld <[email protected]>
> Subject: [Setup] automatic start of Plone at boot time
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8
>
>
> I am running Plone 4 on Linux (Fedora 13). Plone was installed with the
> Unified Installer. Now I want Plone to start automatically when the server
> (the physical computer) reboots. Is it then sufficient to paste the
> following line into the /etc/rc.local script ?
>
> /usr/local/plone4/zeocluster/bin/plonectl restart
>
> (Since I already had a /usr/local/Plone/ directory, I installed Plone 4 in
> /usr/local/plone4). It looks like it works, but I want to check if anyone
> knows about any drawbacks by doing it this way.
>
> Thank you!
> B?rge
>   
Hi Borge

Here is my example of automatisation start of Plone(for Debian Lenny 
)Fedora maybe little different:

1.step


In /etc/init.d make file:

#cd /etc/init.d
#touch plone

2.step
Then edit:

vim plone (or some other editor )

Content of script


# /bin/bash
#Start Plone
/var/opt/Plone334/zinstance/bin/plonectl start
echo "Start Plone "

3.step

Make script executable

#chmod a+x plone

4.step

Test script:

#./plone

Add to rc.d

#update-rc.d plone defaults

You must modificated some steps for Fedora,if someone have objection for 
this script can send me to correct.

Best regards




-- 
Goran Sljivic,sistem-inzenjer
Sveuciliste u Zagrebu
Metalurski fakultet 
web:http://www.simet.hr
Aleja narodnih heroja 3
44103 Sisak, p.p. br.1 



Goran Sljivic,system engineer
University  of Zagreb
Faculty of Metallurgy
Croatia
web:http://www.simet.hr

_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to