a6e4c8952b
Add git-daemon init file to /etc/init.d and make sure the service is started. For transition, keep the git xinetd file and service defined but switch git service to stopped, we can remove this later. Change-Id: I0cf02c7292496e39695b80b00cdcb82ec7a61700
15 lines
460 B
Plaintext
15 lines
460 B
Plaintext
# default: off
|
|
# description: The git dæmon allows git repositories to be exported using \
|
|
# the git:// protocol.
|
|
|
|
service git
|
|
{
|
|
disable = yes
|
|
socket_type = stream
|
|
wait = no
|
|
user = nobody
|
|
server = /usr/libexec/git-core/git-daemon
|
|
server_args = --base-path=/var/lib/git --export-all --syslog --inetd --verbose /var/lib/git
|
|
log_on_failure += USERID
|
|
}
|