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/startcluster.sh and bin/shutowncluster.sh 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:
description “Plone 4.0.5”
start on runlevel 
stop on runlevel [!2345]
…which suggests that upstart only needs the startcluster.sh script, but I’m concerned that it won’t know how to shut the cluster down cleanly.