brooklyn-dev mailing list archives

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

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.


View raw message