!36 【轻量级 PR】:Fix systemd unit error

From: @xiyuanwang 
Reviewed-by: @huangtianhua 
Signed-off-by: @huangtianhua
This commit is contained in:
openeuler-ci-bot 2022-02-21 06:44:04 +00:00 committed by Gitee
commit 6a467313b4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 6 additions and 3 deletions

View File

@ -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]

View File

@ -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 <wangxiyuan1007@gmail.com> - 16.2.2-5
- Fix systemd unit error
* Tue Nov 23 2021 huangtianhua <huangtianhua@huawei.com> - 16.2.2-4
- Removes Django<2.1 constrains