!89 [sync] PR-84: 修复obs-api安装告警问题
From: @openeuler-sync-bot Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
a9d296a256
@ -589,4 +589,4 @@ DEPENDENCIES
|
||||
yajl-ruby
|
||||
|
||||
BUNDLED WITH
|
||||
2.2.32
|
||||
2.2.33
|
||||
|
||||
@ -589,4 +589,4 @@ DEPENDENCIES
|
||||
yajl-ruby
|
||||
|
||||
BUNDLED WITH
|
||||
2.2.32
|
||||
2.2.33
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
Name: obs-server
|
||||
Version: 2.10.11
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: The Open Build Service -- Server Component
|
||||
License: GPL-2.0-only OR GPL-3.0-only
|
||||
URL: http://www.openbuildservice.org
|
||||
@ -277,6 +277,8 @@ rmdir /srv/obs 2> /dev/null || :
|
||||
%systemd_postun_with_restart obsstoragesetup.service
|
||||
|
||||
%pre -n obs-api
|
||||
/usr/sbin/groupadd www
|
||||
/usr/sbin/useradd wwwrun
|
||||
getent passwd obsapidelayed >/dev/null || \
|
||||
/usr/sbin/useradd -r -s /bin/bash -c "User for build service api delayed jobs" -d /srv/www/obs/api -g apache obsapidelayed
|
||||
|
||||
@ -514,6 +516,9 @@ usermod -a -G docker obsservicerun
|
||||
%{_sbindir}/rcobsstoragesetup
|
||||
|
||||
%changelog
|
||||
* Mon Mar 28 2022 wulei <wulei80@huawei.com> - 2.10.11-3
|
||||
- Fix installation failed
|
||||
|
||||
* Mon Mar 21 2022 Ge Wang <wangge20@huawei.com> - 2.10.11-2
|
||||
- Distinguish architecture of file Gemfile.lock due to ruby upgrade to version 3.0.3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user