3
from charmhelpers.core.services.base import ServiceManager
4
from charmhelpers.core.services import helpers
10
manager = ServiceManager([
12
'service': 'apache-hue',
13
'ports': [], # ports to after start
15
# context managers for provided relations
16
# e.g.: helpers.HttpRelation()
19
# data (contexts) required to start the service
20
# e.g.: helpers.RequiredConfig('domain', 'auth_key'),
21
# helpers.MysqlRelation(),
24
helpers.render_template(
25
source='upstart.conf',
26
target='/etc/init/apache-hue'),