From d50928544bfb0082124355262013608f0107dce7 Mon Sep 17 00:00:00 2001 From: Ivan Udovichenko Date: Fri, 17 Mar 2017 12:48:51 +0200 Subject: [PATCH] Update neutron package * Add custom openvswitch-switch.service.in file. Change-Id: I6d82300bf5f5bb415a093fc6dff5e6eb01c761ac Related-Bug: #1671804 --- xenial/debian/changelog | 7 +++++++ .../neutron-openvswitch-agent.service.in | 21 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 xenial/debian/neutron-openvswitch-agent.service.in diff --git a/xenial/debian/changelog b/xenial/debian/changelog index 7de7ee372..936b793c6 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -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 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 index 000000000..5482bf256 --- /dev/null +++ b/xenial/debian/neutron-openvswitch-agent.service.in @@ -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 -- 2.45.2