GNOME Bugzilla – Bug 617653
Plone instance needs a way to auto-start on boot
Last modified: 2011-01-03 21:37:06 UTC
With some coffee and a little bit of poking around, I figured out how to start up the zope instance on socket for website-editors.gnome.org. It involves: su - wgoplone cd development/editors/bin/ ./instance start ./run-deliverance & # Make sure things look good lsof -i tcp:5001 wget -S -q -O /dev/null http://website-editors.gnome.org However, this should start on boot. Someone with an understanding of zope further than myself should write an init script.
I've put in place a rudimentary start script that seems to work. The stop functionality is still broken, but this might be enough for boot-time support. I'll give it another look tomorrow and see if I can clean it up some more.
I've improved (if you can call it that) the shutdown script. It does what it needs to do, but it does feel like a bit of a hack. In any case, /etc/init.d/plone {start|stop|restart} are functional on socket, and it is set to autostart at boot. My understanding is we're likely not going to stick with plone but move to WP instead, so I'm not going to worry too much more about perfecting this script.