~hopem/charms/trusty/neutron-openvswitch/ensure-tmpdir-cleanup

« back to all changes in this revision

Viewing changes to templates/git/upstart/neutron-ovs-cleanup.upstart

  • Committer: james.page at ubuntu
  • Date: 2015-06-10 14:01:59 UTC
  • mfrom: (62.1.32 neutron-openvswitch)
  • Revision ID: james.page@ubuntu.com-20150610140159-83k3sr2pq07gs4a3
Adds support for:

* Use a Python virtualenv when deploying from source
* Default to shallow clone for git (depth=1)
* Pass http_proxy to pip installs if specified

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
pre-start script
13
13
  [ ! -x /usr/bin/{{ process_name }} ] && exit 0
14
 
  start-stop-daemon --start --chuid neutron --exec /usr/local/bin/{{ process_name }} -- \
 
14
  start-stop-daemon --start --chuid neutron --exec {{ executable_name }} -- \
15
15
    --log-file /var/log/neutron/{{ log_file }} \
16
16
    --config-file /etc/neutron/neutron.conf --verbose
17
17
end script