Creating an Upstart Service


I’m setting up a new server, but am baffled by how to set up an upstart service for an old version of Plone.

Newer versions of Plone use bin/plonectl stop|start, IOW a single command with a stop or start parameter, and adding the command into the “Server program and parameters” field makes sense.

However, Plone 2.5.5 (required for some legacy hosting) uses bin/ and bin/ to stop an start respectively - IOW, there are two disticnt commands.

Looking at those scripts, each contains the 3 “start” (or “stop”) commands for the three elements of the zeocluster, so I guess I could create my own startup script with a start/stop, but would rather use those provided i possible.

How should I configure Upsatrt in Virtualmin to start and stop this version of Plone?

Edit: Looking at another server and a later version of Plone with both scrips availabel, I see:


Plone 4.0.5

description “Plone 4.0.5”

start on runlevel [2345]
stop on runlevel [!2345]

expect fork

exec /opt/Plone-4.0.5/zeocluster/bin/

…which suggests that upstart only needs the script, but I’m concerned that it won’t know how to shut the cluster down cleanly.




Check out Webmin > System > Bootup and Shutdown area. In there you can “Create a new bootup and shutdown action”.

Let us know if this works, and/or if you require further assistance.

Best Regards, Peter Knowles TPN Solutions

P: 604-782-9342