[Camps-users] Extending Service Functionality
Sam Batschelet
sbatschelet at me.com
Wed Aug 29 16:12:34 UTC 2012
On Aug 29, 2012, at 11:49 AM, Richard Templet <richard at endpoint.com> wrote:
> On Wed, Aug 29, 2012 at 11:35:01AM -0400, Sam Batschelet wrote:
>> I am looking at the possibility of bringing other services into camps such as sphinx and dancer. When I look at extending this type of thing it seems I would need to append Master.pm. This isn't really what I would like to do for version control as this would get rewritten in future updates. Is there a way, or should I say what is the best way to add service functionality for new programs outside of db,http,ic? If not how have others done this type of thing?
>
> If you've got a more recent copy of the camps code there are new
> features called app_{start,stop,restart} that you can use to handle such
> things. Also look at the httpd_* options in the Master.pm perldoc.
Aha just saw has_app skimming Master.pm after I posted thanks for the help i will research this more.
More information about the Camps-users
mailing list