Accepting request 998105 from devel:tools:scm

OBS-URL: https://build.opensuse.org/request/show/998105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=285
This commit is contained in:
Dominique Leuenberger 2022-08-20 18:27:52 +00:00 committed by Git OBS Bridge
parent 21836f0ec6
commit 1cebf0890b
4 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,2 @@
# Type Name ID GECOS [HOME]
u git-daemon - "git daemon" /var/lib/empty -
m git-daemon nogroup

View File

@ -15,7 +15,7 @@ ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
EnvironmentFile=-/etc/sysconfig/git-daemon
ExecStart=/bin/bash -c 'exec git daemon --reuseaddr --base-path=$${GIT_DAEMON_BASE_PATH:-/srv/git/} --user=$${GIT_DAEMON_USER:-git-daemon} --group=$${GIT_DAEMON_GROUP:-nogroup} $GIT_DAEMON_ARGS'
ExecStart=/bin/bash -c 'exec git daemon --reuseaddr --base-path=$${GIT_DAEMON_BASE_PATH:-/srv/git/} --user=$${GIT_DAEMON_USER:-git-daemon} --group=$${GIT_DAEMON_GROUP:-git-daemon} $GIT_DAEMON_ARGS'
Restart=always
RestartSec=500ms

View File

@ -23,6 +23,11 @@ Tue Jul 11 11:11:11 UTC 2022 - olaf@aepfle.de
- Usage of sysusers_requires is optional, like during quilt setup
-------------------------------------------------------------------
Sun Jul 10 12:24:48 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- Use the system user's group instead of nogroup
-------------------------------------------------------------------
Fri Jul 8 09:00:10 UTC 2022 - Petr Vorel <pvorel@suse.cz>

View File

@ -28,7 +28,7 @@ GIT_DAEMON_USER=""
## Type: string
## Default:
#
# defaults to "nogroup" if not set
# defaults to "git-daemon" if not set
#
# Group to run git-daemon as.
GIT_DAEMON_GROUP=""