~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to utopic/etc/init/neutron-plugin-ibm-agent.conf

  • Committer: Dimitri John Ledkov
  • Date: 2014-05-06 18:45:46 UTC
  • Revision ID: dimitri.ledkov@canonical.com-20140506184546-5toyx56xxrue0f0v
auto update

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# vim:set ft=upstart ts=2 et:
 
2
description "Neutron IBM SDN Agent"
 
3
author "Chuck Short <zulcss@ubuntu.com>"
 
4
 
 
5
start on runlevel [2345]
 
6
stop on runlevel [!2345]
 
7
 
 
8
respawn
 
9
 
 
10
chdir /var/run
 
11
 
 
12
pre-start script
 
13
  mkdir -p /var/run/neutron
 
14
  chown neutron:root /var/run/neutron
 
15
end script
 
16
 
 
17
exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-ibm-agent -- \
 
18
  --config-file=/etc/neutron/neutron.conf \
 
19
  --config-file=/etc/neutron/plugins/ibm/sdnve_neutron_plugin.ini \
 
20
  --log-file=/var/log/neutron/ibm-agent.log