FS#20575 - [git] More flexible git-daemon.conf and /etc/rc.d/git-daemon script
Attached to Project:
Arch Linux
Opened by David Siñuela Pastor (siu4coders) - Monday, 23 August 2010, 17:20 GMT
Last edited by Dan McGee (toofishes) - Thursday, 06 January 2011, 02:44 GMT
Opened by David Siñuela Pastor (siu4coders) - Monday, 23 August 2010, 17:20 GMT
Last edited by Dan McGee (toofishes) - Thursday, 06 January 2011, 02:44 GMT
|
Details
Description:
Trying to configure git-daemon to export all repositories under a directory I found that the $GIT_REPO parameter is appended at the end of the command parameters in /etc/rc.d/git-daemon, as I didn't want to serve any specific repository I had to remove it. I suggest to remove the $GIT_REPO parameter from /etc/rc.d/git-daemon, and construct the full argument list in /etc/conf.d/git-daemon.conf (as it is partially done). Additional info: * git 1.7.2.1-1 * /etc/conf.d/git-daemon.conf * /etc/rc.d/git-daemon Diff: diff old/git-daemon new/git-daemon 23c23 < $daemon_bin --pid-file=$PIDF $GIT_DAEMON_ARGS $GIT_REPO --- > $daemon_bin --pid-file=$PIDF $GIT_DAEMON_ARGS diff old/git-daemon.conf new/git-daemon.conf 4c4 < GIT_DAEMON_ARGS="--detach --syslog --verbose --base-path=$GIT_REPO" --- > GIT_DAEMON_ARGS="--detach --syslog --verbose --base-path=$GIT_REPO $GIT_REPO" |
This task depends upon
Closed by Dan McGee (toofishes)
Thursday, 06 January 2011, 02:44 GMT
Reason for closing: Fixed
Additional comments about closing: git 1.7.3.5-1
Thursday, 06 January 2011, 02:44 GMT
Reason for closing: Fixed
Additional comments about closing: git 1.7.3.5-1