On Wed, 2011-06-08 at 14:59 +0200, Andrew Beekhof wrote:
On 06/03/2011 05:57 PM, Perry Myers wrote:
>> <services>
>> <service name="service1">
>> <scripts>
>> <script href="...."></script>
>> <script>
>> <contents><![CDATA[
>> #!/bin/bash
>> ...
>> ]]</contents>
>> </script>
>> </scripts>
>> <parameter type="string" name="redmine_admin">
>> <value>#{admin_user}</value>
>> </parameter>
>> <return name="http_port"/>
>> </service>
>> </services>
>
> I was talking with asalkeld about this recently, and one of the things
> he mentioned is that the XML for services probably needs to include
> information about 'how to start and stop the service', since there may
> be different ways to do so.
Could someone expand on this?
Does this not cover it?
https://fedorahosted.org/pipermail/aeolus-devel/2011-June/002071.html
Perhaps the confusion here is over the term "service"
We're not using that term here to mean an init script
It is simply a boot-time configuration script which can do everything
from changing some config files, installing some packages, enabling
some init services etc.
(Yes, I think "service" is a poor name for this)
Cheers,
Mark.