~openstack-charmers-next/charms/wily/glance-simplestreams-sync/trunk

« back to all changes in this revision

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

  • Committer: james.page at ubuntu
  • Date: 2015-09-08 16:26:21 UTC
  • Revision ID: james.page@ubuntu.com-20150908162621-25gebqljve63h45a
Resync helpers

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 -%}