diff options
author | Micah <micah@leap.se> | 2016-05-24 10:19:24 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-05-24 10:19:24 -0400 |
commit | a0341282c3eef05cf19c10e10f783e3c5536c8b0 (patch) | |
tree | 59ffbcee037e3a3b6393dac5a16ca0545d233e91 /files/xinetd.d |
Squashed 'puppet/modules/git/' content from commit ba5dd8d
git-subtree-dir: puppet/modules/git
git-subtree-split: ba5dd8d5c8e09d521ff49f1ebc753601e449f828
Diffstat (limited to 'files/xinetd.d')
-rw-r--r-- | files/xinetd.d/git | 16 | ||||
-rw-r--r-- | files/xinetd.d/git.disabled | 16 | ||||
-rw-r--r-- | files/xinetd.d/git.vhosts | 16 |
3 files changed, 48 insertions, 0 deletions
diff --git a/files/xinetd.d/git b/files/xinetd.d/git new file mode 100644 index 00000000..64c53e8b --- /dev/null +++ b/files/xinetd.d/git @@ -0,0 +1,16 @@ +# default: off +# description: The git dæmon allows git repositories to be exported using +# the git:// protocol. + +service git +{ + disable = no + socket_type = stream + wait = no + user = nobody + server = /usr/bin/git-daemon + server_args = --base-path=/srv/git --export-all --user-path=public_git --syslog --inetd --verbose + log_on_failure += USERID +# xinetd doesn't do this by default. bug #195265 + flags = IPv6 +} diff --git a/files/xinetd.d/git.disabled b/files/xinetd.d/git.disabled new file mode 100644 index 00000000..dcfae918 --- /dev/null +++ b/files/xinetd.d/git.disabled @@ -0,0 +1,16 @@ +# 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/bin/git-daemon + server_args = --base-path=/srv/git --export-all --user-path=public_git --syslog --inetd --verbose + log_on_failure += USERID +# xinetd doesn't do this by default. bug #195265 + flags = IPv6 +} diff --git a/files/xinetd.d/git.vhosts b/files/xinetd.d/git.vhosts new file mode 100644 index 00000000..98938206 --- /dev/null +++ b/files/xinetd.d/git.vhosts @@ -0,0 +1,16 @@ +# default: off +# description: The git dæmon allows git repositories to be exported using +# the git:// protocol. + +service git +{ + disable = no + socket_type = stream + wait = no + user = nobody + server = /usr/bin/git-daemon + server_args = --interpolated-path=/srv/git/%H/%D --syslog --inetd --verbose + log_on_failure += USERID +# xinetd doesn't do this by default. bug #195265 + flags = IPv6 +} |