~openstack-charmers/charms/trusty/glance/0mq

« back to all changes in this revision

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

  • Committer: james.page at ubuntu
  • Date: 2015-03-30 15:56:03 UTC
  • mfrom: (60.1.44 glance)
  • Revision ID: james.page@ubuntu.com-20150330155603-xz7k0dgfv4p2y7sx
Rebase and resync

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
            --config-file={{ config_file }} \
 
13
            --log-file={{ log_file }}