brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Svetoslav Neykov <svetoslav.ney...@cloudsoftcorp.com>
Subject Entities as system services
Date Tue, 17 Mar 2015 18:41:00 GMT
Hi,

I created an enricher which when attached to an entity will register it as a system service,
so the entity is started on machine restarts. See [1] for the PR. Currently old-style /etc/init.d
services are implemented (used in RHEL 6).
It probably makes sense to move it to SoftwareProcess entity, but an enricher initially looked
like a better choice because it can be used in existing installations, wdyt?

How it works - it takes the launch script from the start effector, saves it as a file and
then calls it from an /etc/init.d script.The launch script is updated on each restart so changes
in config keys will be updated in the service.

Svet.

[1] https://github.com/apache/incubator-brooklyn/pull/556
Mime
View raw message