Set Plone to start with the server using supervisor

If you’re using a stand-alone Zope/Plone installation (not a ZEO cluster), starting and stopping Plone is easy. A production ZEO cluster deployment adds some complexity because you’ll now be controlling several process: a ZEO server and several ZEO clients.

 

Set Plone to start with the server using supervisor
/////////////////////////////////////////////////////
install supervisor
………………………
apt-get install supervisor
service supervisor restart
……………………..
Open conf file of supervisor

………………………………………
sudo nano /etc/supervisor/conf.d/plone5.conf
………………………………………

Specify that supervisor should start the database server and client1 automatically:

……………………………………………………………
[program:plone5server]
user=administrator
directory=/home/administrator/Plone/zeocluster
command=/home/administrator/Plone/zeocluster/bin/zeoserver fg

[program:plone5client1]
user=administrator
directory=/home/administrator/Plone/zeocluster
command=/home/administrator/Plone/zeocluster/bin/client1 console
stopwaitseconds=30

Paste and save file.
And Exit

When that file is saved you’re set to start on server start. To start immediately, tell supervisor about the new components

…………………………………………………………………………………….
sudo supervisorctl
reread
add plone5server
plone5server: added process group
add plone5client1
plone5client1: added process group
status
plone5client1 RUNNING pid 32327, uptime 0:00:02
plone5server RUNNING pid 32326, uptime 0:00:08

13 Comments

  1. gucci belt

    My wife and i were very glad when Jordan could finish up his research by way of the precious recommendations he was given in your weblog. It’s not at all simplistic to simply continually be handing out solutions that people today have been trying to sell. And we all remember we need the blog owner to appreciate for that. These explanations you have made, the straightforward website menu, the friendships you can aid to create – it’s everything astonishing, and it’s helping our son in addition to us consider that this topic is excellent, and that is exceedingly important. Thanks for all!

  2. longchamp outlet

    My spouse and i got absolutely ecstatic when Raymond managed to complete his reports out of the ideas he got using your web pages. It’s not at all simplistic to simply continually be giving for free secrets and techniques that others might have been trying to sell. And we take into account we now have the website owner to appreciate because of that. The main illustrations you have made, the easy web site menu, the relationships you will help to instill – it’s got many excellent, and it’s letting our son and our family do think that concept is thrilling, and that’s highly serious. Thanks for everything!

  3. jordans

    I as well as my buddies were looking through the excellent helpful tips found on your web blog while quickly I got an awful suspicion I never thanked the web blog owner for them. My people had been warmed to read through them and now have in actuality been having fun with these things. We appreciate you simply being so accommodating and also for choosing such quality guides most people are really needing to know about. My very own honest apologies for not expressing gratitude to you earlier.

  4. Luigi

    I located your web site from Google and also I need to claim it was a
    great discover. Thanks!

  5. yeezy boost 350

    A lot of thanks for all your labor on this website. Kim really loves doing investigations and it’s easy to understand why. Almost all learn all about the compelling way you provide useful items on this web blog and welcome response from other individuals about this subject while our child is truly understanding a lot. Take pleasure in the rest of the new year. You are doing a dazzling job.

  6. hermes birkin

    I precisely needed to thank you so much once more. I am not sure the things I could possibly have handled without the smart ideas provided by you about this area. It had been the challenging issue for me personally, nevertheless seeing a specialised manner you processed that made me to weep over fulfillment. Extremely happier for this work as well as pray you know what a powerful job you happen to be getting into educating some other people through the use of your website. More than likely you have never encountered all of us.

  7. goyard bags

    Needed to post you the little note to thank you again with your pretty opinions you have provided on this website. This has been simply shockingly generous of people like you to give unreservedly all a few individuals would’ve distributed for an ebook to generate some dough for themselves, especially since you could have done it if you ever considered necessary. The things as well worked to become a easy way to recognize that many people have a similar eagerness much like my very own to grasp lots more when considering this condition. I’m certain there are millions of more enjoyable occasions ahead for individuals who go through your blog.

  8. caterpillar boots

    Thanks a lot for providing individuals with such a marvellous possiblity to read in detail from this web site. It’s usually very kind and as well , full of a great time for me personally and my office fellow workers to visit your site the equivalent of three times per week to see the latest guides you have got. And indeed, I’m so certainly impressed considering the superb secrets you give. Selected 2 areas in this article are undeniably the most impressive I have ever had.

  9. adidas gazelle

    I precisely wished to appreciate you once more. I do not know the things I would’ve accomplished in the absence of the entire basics provided by you regarding that concern. It was before an absolute troublesome condition for me, but seeing your professional manner you managed the issue forced me to leap with joy. Now i am happier for the information and hope you know what an amazing job you are doing instructing people thru your webpage. I’m certain you haven’t met any of us.

  10. chrome hearts online

    I enjoy you because of every one of your labor on this website. Gloria loves going through investigations and it is easy to see why. Many of us notice all regarding the compelling medium you convey worthwhile strategies by means of the blog and as well invigorate response from visitors on the concept then our princess is now learning so much. Have fun with the remaining portion of the new year. You’re conducting a remarkable job.

  11. yeezy boost 350 v2

    A lot of thanks for all your work on this site. My mom loves getting into research and it’s easy to understand why. I hear all concerning the powerful mode you make precious tips and tricks through the web site and in addition boost contribution from some other people on the article while our princess is actually starting to learn a lot. Enjoy the remaining portion of the new year. You are always performing a wonderful job.

  12. fila online shop

    Thanks so much for giving everyone an exceptionally breathtaking opportunity to read articles and blog posts from this site. It really is very lovely and as well , stuffed with amusement for me and my office friends to search your web site on the least three times in 7 days to study the latest tips you have. And indeed, we are certainly astounded with all the astounding tips you give. Certain 3 ideas in this post are in reality the most effective we’ve had.

  13. nike air max shoes

    I not to mention my pals came following the best advice found on your web site then instantly came up with a horrible suspicion I had not expressed respect to the blog owner for them. All of the men had been certainly thrilled to read through all of them and have in effect seriously been enjoying them. Thank you for simply being very accommodating and also for settling on variety of impressive areas most people are really needing to learn about. My very own honest apologies for not saying thanks to sooner.

Leave a Comment

Your email address will not be published. Required fields are marked *