From 36d4325ef4fbdaac9baee45059b4d79e3c62622f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=8E=BA=E6=BA=90?= Date: Mon, 21 Feb 2022 02:43:47 +0000 Subject: [PATCH] Fix systemd unit error --- openstack-dashboard-systemd.conf | 4 ++-- openstack-dashboard.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/openstack-dashboard-systemd.conf b/openstack-dashboard-systemd.conf index d826ab2..77e4804 100644 --- a/openstack-dashboard-systemd.conf +++ b/openstack-dashboard-systemd.conf @@ -1,6 +1,6 @@ [Service] -ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear -v0 -ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py compress --force -v0 +ExecStartPre=/usr/bin/python3 /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear -v0 +ExecStartPre=/usr/bin/python3 /usr/share/openstack-dashboard/manage.py compress --force -v0 TimeoutStartSec=5min [Unit] diff --git a/openstack-dashboard.spec b/openstack-dashboard.spec index 7855025..86e63b3 100644 --- a/openstack-dashboard.spec +++ b/openstack-dashboard.spec @@ -1,7 +1,7 @@ %{!?upstream_version: %global upstream_version %{version}%{?milestone}} Name: openstack-dashboard Version: 16.2.2 -Release: 4 +Release: 5 Summary: OpenStack Dashboard (Horizon) License: Apache-2.0 and BSD URL: http://horizon.openstack.org/ @@ -345,6 +345,9 @@ systemctl daemon-reload >/dev/null 2>&1 || : %{python3_sitelib}/openstack_auth %changelog +* Mon Feb 21 2022 wangxiyuan - 16.2.2-5 +- Fix systemd unit error + * Tue Nov 23 2021 huangtianhua - 16.2.2-4 - Removes Django<2.1 constrains