summaryrefslogtreecommitdiffstats
path: root/build/rpm_specs
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-05-26 15:16:23 -0400
committerTim Rozet <trozet@redhat.com>2017-05-27 09:16:23 -0400
commitfb5885ab7cc0ab76a0bcc5c4e8fc3ba1d10e34ae (patch)
tree32da7036e4cab9586f101314df68f82b4f4e604d /build/rpm_specs
parente02b5be4ef2af55af0243dcd19ffac74fa7a052e (diff)
Fix tacker not starting correctly
JIRA: APEX-446 Change-Id: I69fecfa8dae111cc53d83e701ce913de80de94ef Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'build/rpm_specs')
-rw-r--r--build/rpm_specs/openstack-tacker-server.service2
-rw-r--r--build/rpm_specs/openstack-tacker.spec4
2 files changed, 2 insertions, 4 deletions
diff --git a/build/rpm_specs/openstack-tacker-server.service b/build/rpm_specs/openstack-tacker-server.service
index 9bf16cd5..44191f70 100644
--- a/build/rpm_specs/openstack-tacker-server.service
+++ b/build/rpm_specs/openstack-tacker-server.service
@@ -5,7 +5,7 @@ After=syslog.target network.target
[Service]
Type=simple
User=tacker
-ExecStart=/usr/bin/openstack-tacker-server --config-file /usr/share/tacker/tacker-dist.conf --config-file /etc/tacker/tacker.conf --log-file /var/log/tacker/tacker.log
+ExecStart=/usr/bin/tacker-server --config-file /etc/tacker/tacker.conf --log-file /var/log/tacker/tacker.log
PrivateTmp=true
NotifyAccess=all
KillMode=process
diff --git a/build/rpm_specs/openstack-tacker.spec b/build/rpm_specs/openstack-tacker.spec
index 0ec4d518..64761a50 100644
--- a/build/rpm_specs/openstack-tacker.spec
+++ b/build/rpm_specs/openstack-tacker.spec
@@ -37,9 +37,6 @@ rm -fr %{buildroot}/etc/init.d
# Install systemd script
install -p -D -m 644 openstack-tacker-server.service %{buildroot}%{_unitdir}/openstack-tacker-server.service
-# Remove egg-info
-rm -rf %{buildroot}/usr/lib/python2.7/site-packages/*egg-info
-
install -d -m 755 %{buildroot}%{_localstatedir}/cache/tacker
install -d -m 755 %{buildroot}%{_sharedstatedir}/tacker
install -d -m 755 %{buildroot}%{_localstatedir}/log/tacker
@@ -66,6 +63,7 @@ exit 0
/usr/bin/tacker-rootwrap
%{_unitdir}/openstack-tacker-server.service
/usr/lib/python2.7/site-packages/tacker/*
+/usr/lib/python2.7/site-packages/tacker-*.egg-info
#%config(noreplace) %attr(-, root, tacker) %{_sysconfdir}/tacker/tacker.conf`
%{_sysconfdir}/rootwrap.d/tacker.filters