]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Update neutron package 23/32323/1
authorIvan Udovichenko <iudovichenko@mirantis.com>
Fri, 17 Mar 2017 10:48:51 +0000 (12:48 +0200)
committerIvan Udovichenko <iudovichenko@mirantis.com>
Fri, 17 Mar 2017 10:49:24 +0000 (12:49 +0200)
* Add custom openvswitch-switch.service.in file.

Change-Id: I6d82300bf5f5bb415a093fc6dff5e6eb01c761ac
Related-Bug: #1671804

xenial/debian/changelog
xenial/debian/neutron-openvswitch-agent.service.in [new file with mode: 0644]

index 7de7ee372d04dd4acf2d26a348238f2907586a50..936b793c6f46a0920f601ff7f04effe2500f7762 100644 (file)
@@ -1,3 +1,10 @@
+neutron (2:9.2.0-2~u16.04+mos0) mos10.0; urgency=medium
+
+  * Add custom openvswitch-switch.service.in file.
+    (LP#1671804)
+
+ -- Ivan Udovichenko <iudovichenko@mirantis.com>  Fri, 17 Mar 2017 12:45:53 +0200
+
 neutron (2:9.2.0-1~u16.04+mos0) mos10.0; urgency=medium
 
   * Sync changes. (LP#1659003)
diff --git a/xenial/debian/neutron-openvswitch-agent.service.in b/xenial/debian/neutron-openvswitch-agent.service.in
new file mode 100644 (file)
index 0000000..5482bf2
--- /dev/null
@@ -0,0 +1,21 @@
+[Unit]
+Description=Openstack Neutron OpenVSwitch Plugin Agent
+After=mysql.service postgresql.service rabbitmq-server.service keystone.service openvswitch-switch.service
+
+
+[Service]
+User=neutron
+Group=neutron
+Type=simple
+WorkingDirectory=/var/lib/neutron
+PermissionsStartOnly=true
+ExecStartPre=/bin/mkdir -p /var/lock/neutron /var/log/neutron /var/lib/neutron
+ExecStartPre=/bin/chown neutron:neutron /var/lock/neutron /var/lib/neutron
+ExecStartPre=/bin/chown neutron:adm /var/log/neutron
+ExecStart=/etc/init.d/neutron-openvswitch-agent systemd-start
+Restart=on-failure
+LimitNOFILE=65535
+TimeoutStopSec=65
+
+[Install]
+WantedBy=multi-user.target