~zulcss/neutron/new-plugins

« back to all changes in this revision

Viewing changes to debian/neutron-plugin-openflow.upstart

  • Committer: Chuck Short
  • Date: 2014-03-06 16:34:33 UTC
  • Revision ID: zulcss@ubuntu.com-20140306163433-ddhb2fxoe2oehewz
Add missing files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# vim:set ft=upstart ts=2 et:
 
2
description "Neutron OpenFlow Plugin 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-openflow-agent -- --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/ml2/ml2_conf_ofa.ini --log-file=/var/log/neutron/openflow-agent.log