!36 【轻量级 PR】:Fix systemd unit error
From: @xiyuanwang Reviewed-by: @huangtianhua Signed-off-by: @huangtianhua
This commit is contained in:
commit
6a467313b4
@ -1,6 +1,6 @@
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear -v0
|
ExecStartPre=/usr/bin/python3 /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 compress --force -v0
|
||||||
TimeoutStartSec=5min
|
TimeoutStartSec=5min
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
|
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
|
||||||
Name: openstack-dashboard
|
Name: openstack-dashboard
|
||||||
Version: 16.2.2
|
Version: 16.2.2
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: OpenStack Dashboard (Horizon)
|
Summary: OpenStack Dashboard (Horizon)
|
||||||
License: Apache-2.0 and BSD
|
License: Apache-2.0 and BSD
|
||||||
URL: http://horizon.openstack.org/
|
URL: http://horizon.openstack.org/
|
||||||
@ -345,6 +345,9 @@ systemctl daemon-reload >/dev/null 2>&1 || :
|
|||||||
%{python3_sitelib}/openstack_auth
|
%{python3_sitelib}/openstack_auth
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Nov 23 2021 huangtianhua <huangtianhua@huawei.com> - 16.2.2-4
|
||||||
- Removes Django<2.1 constrains
|
- Removes Django<2.1 constrains
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user