turn off py2 builds, that worked all right with all the tags
[infrastructure.git] / scripts / git-daemon.init.d
index f6b6ebc..0c6cde6 100755 (executable)
@@ -7,6 +7,11 @@
 #
 # processname: git-daemon
 # pidfile: /var/run/git.pid
+#
+# NOTE. on f14 at least git daemon comes linked with xinetd
+# however as we had written this for f8, and as I don't feel 
+# comfy with xinetd on top of chkconfig, 
+# I turned off xinetd and still use this one on f14 as well
 
 # source function library
 . /etc/rc.d/init.d/functions
@@ -18,7 +23,10 @@ RETVAL=0
 prog="git-daemon"
 
 # Some functions to make the below more readable
-GIT=/usr/bin/git-daemon
+# previous location (f8)
+#GIT=/usr/bin/git-daemon
+# for f14
+GIT=/usr/libexec/git-core/git-daemon
 PID_FILE=/var/run/git-daemon.pid
 
 # override OPTIONS altogether for more flexibility
@@ -29,7 +37,7 @@ runlevel=$(set -- $(runlevel); eval "echo \$$#" )
 start()
 {
        echo -n $"Starting $prog: "
-       $(eval $GIT $OPTIONS) && success || failure
+       $GIT $OPTIONS && success || failure
        RETVAL=$?
        [ "$RETVAL" = 0 ] && touch /var/lock/subsys/git
        echo