Accepting request 887962 from devel:tools:scm

- Remove deprecated "syslog" option from git-daemon.service (bsc#1185147)

OBS-URL: https://build.opensuse.org/request/show/887962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=263
This commit is contained in:
Dominique Leuenberger 2021-04-24 21:07:10 +00:00 committed by Git OBS Bridge
parent 869bdab7c1
commit 5049141a33
3 changed files with 8 additions and 4 deletions

View File

@ -8,8 +8,6 @@ ExecStart=/bin/bash -c 'exec git daemon --reuseaddr --base-path=$${GIT_DAEMON_BA
Restart=always
RestartSec=500ms
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=git-daemon
[Install]

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 22 13:28:06 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Remove deprecated "syslog" option from git-daemon.service (bsc#1185147)
-------------------------------------------------------------------
Fri Apr 9 11:34:14 UTC 2021 - Frederic Crozat <fcrozat@suse.com>

View File

@ -246,8 +246,8 @@ Email interface for the GIT version control system.
%package daemon
Summary: Simple Server for Git Repositories
Group: Development/Tools/Version Control
%if 0%{?suse_version} >= 1550
Requires(pre): group(nobody)
%if 0%{?suse_version} >= 1550
Requires(pre): group(nobody)
%sysusers_requires
%{?systemd_requires}
%else
@ -454,6 +454,7 @@ cat %{name}.lang >>bin-man-doc-files
%if 0%{?suse_version} >= 1500
%pre daemon -f git-daemon.pre
%else
%pre daemon
if ! %{_bindir}/getent passwd git-daemon >/dev/null; then
%{_sbindir}/useradd -r -d %{_localstatedir}/lib/empty -s /bin/false -c "git daemon" -g nogroup git-daemon