~bbaqar/charms/trusty/plumgrid-director/config-changed-fix

« back to all changes in this revision

Viewing changes to hooks/charmhelpers-pl/contrib/openstack/templates/git.upstart

  • Committer: bbaqar at plumgrid
  • Date: 2015-07-29 18:07:31 UTC
  • Revision ID: bbaqar@plumgrid.com-20150729180731-ioynar8x3u5pxytc
Addressed reviews by Charmers

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
description "{{ service_description }}"
2
 
author "Juju {{ service_name }} Charm <juju@localhost>"
3
 
 
4
 
start on runlevel [2345]
5
 
stop on runlevel [!2345]
6
 
 
7
 
respawn
8
 
 
9
 
exec start-stop-daemon --start --chuid {{ user_name }} \
10
 
            --chdir {{ start_dir }} --name {{ process_name }} \
11
 
            --exec {{ executable_name }} -- \
12
 
            {% for config_file in config_files -%}
13
 
            --config-file={{ config_file }} \
14
 
            {% endfor -%}
15
 
            {% if log_file -%}
16
 
            --log-file={{ log_file }}
17
 
            {% endif -%}