turn off f24 build
[infrastructure.git] / scripts / git-daemon.init.d
index bc3e64b..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