~james-page/charms/trusty/swift-proxy/trunk

« back to all changes in this revision

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

  • Committer: Liam Young
  • Date: 2015-12-01 10:40:39 UTC
  • mfrom: (126.1.2 stable.remote)
  • Revision ID: liam.young@canonical.com-20151201104039-y1u0vv19o0w3vdvz
[hopem, r=gnuoy] Add support for settting swift-storage unit rsyncd acls.
Partially-Closes-Bug: 1427361

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