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

365 comments

  1. Thanks a lot for providing individuals with an exceptionally splendid opportunity to read in detail from this site. It’s always so kind and also full of amusement for me personally and my office fellow workers to visit your website particularly thrice in a week to find out the newest tips you have got. And definitely, I’m just certainly motivated considering the surprising solutions you serve. Some 2 points in this post are definitely the finest we’ve had.

  2. I am also commenting to let you be aware of of the superb encounter our princess encountered checking your webblog. She figured out many things, most notably what it is like to have a great coaching heart to get many more just have an understanding of various very confusing issues. You actually surpassed our own desires. Thanks for distributing those insightful, healthy, explanatory and also unique tips on the topic to Ethel.

  3. Thanks a lot for giving everyone remarkably spectacular chance to check tips from this blog. It can be so pleasurable and as well , jam-packed with a lot of fun for me personally and my office colleagues to search your blog at a minimum thrice weekly to find out the latest things you have got. Of course, I’m also at all times happy with your amazing pointers you serve. Certain 4 facts in this posting are definitely the best we have all had.

  4. Thank you a lot for giving everyone an extraordinarily special possiblity to read critical reviews from this blog. It is usually very superb and as well , packed with a lot of fun for me and my office co-workers to search your web site not less than thrice in a week to study the new issues you have got. And definitely, I am just at all times contented with the gorgeous information you give. Selected 1 areas in this posting are certainly the most beneficial we’ve had.

  5. I precisely needed to thank you so much once again. I’m not certain the things I would have sorted out in the absence of the type of points discussed by you concerning such a subject matter. It seemed to be an absolute troublesome concern in my opinion, nevertheless being able to view the very specialized way you managed that took me to weep for gladness. I am happier for the work as well as believe you realize what a powerful job you are always doing teaching people today by way of a site. More than likely you have never got to know any of us.

  6. I definitely wanted to construct a simple remark so as to thank you for all the pleasant tips and hints you are giving here. My incredibly long internet look up has now been honored with reliable insight to exchange with my visitors. I would say that most of us website visitors are really fortunate to dwell in a good place with so many outstanding individuals with good pointers. I feel pretty privileged to have seen your web page and look forward to some more cool minutes reading here. Thank you once more for a lot of things.

  7. I really wanted to send a simple note to be able to appreciate you for some of the stunning advice you are sharing at this website. My considerable internet investigation has at the end of the day been compensated with good content to go over with my partners. I ‘d mention that many of us website visitors are definitely endowed to live in a remarkable community with so many special professionals with helpful ideas. I feel really privileged to have discovered your web site and look forward to really more amazing minutes reading here. Thanks a lot once again for everything.

  8. I simply desired to thank you very much once again. I do not know the things I could possibly have achieved in the absence of the type of ideas provided by you over such subject matter. It became a distressing condition in my opinion, nevertheless being able to view your well-written fashion you solved that made me to cry with fulfillment. Extremely thankful for the guidance and thus expect you realize what a powerful job you were accomplishing instructing people via your web blog. I am sure you’ve never met any of us.

  9. I am also commenting to make you know what a terrific discovery my cousin’s girl encountered viewing the blog. She even learned a lot of details, not to mention how it is like to possess a very effective helping nature to have the others easily master a variety of specialized subject areas. You undoubtedly exceeded my expectations. Many thanks for displaying such essential, trusted, explanatory and in addition easy guidance on your topic to Sandra.

  10. I would like to express thanks to the writer just for bailing me out of this type of dilemma. After looking out through the world wide web and getting methods which are not productive, I figured my entire life was over. Being alive without the presence of strategies to the difficulties you have resolved by way of your main write-up is a serious case, as well as the ones which might have badly damaged my career if I hadn’t come across your site. The capability and kindness in handling all the details was precious. I’m not sure what I would have done if I had not discovered such a subject like this. I’m able to at this moment look ahead to my future. Thanks for your time very much for this reliable and results-oriented guide. I won’t think twice to endorse your web blog to any individual who should have care on this issue.

  11. I precisely wished to thank you so much all over again. I’m not certain the things I could possibly have carried out in the absence of the actual techniques contributed by you directly on my area. It had been an absolute frightening setting in my view, but noticing your skilled fashion you treated it took me to cry for fulfillment. I will be thankful for this help as well as have high hopes you find out what a great job that you are providing instructing the rest through the use of your web page. More than likely you haven’t encountered all of us.

  12. I needed to put you a little observation in order to thank you so much as before over the extraordinary views you’ve provided on this website. It is certainly extremely generous with you to make unreservedly exactly what a number of people could possibly have made available for an ebook to make some bucks for themselves, precisely given that you could have done it in case you decided. These suggestions also served to become a easy way to be sure that the rest have the identical passion much like my own to know a whole lot more with reference to this issue. I am certain there are several more pleasurable sessions in the future for individuals who check out your site.

Leave a Reply

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