X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fgit-daemon.init.d;h=0c6cde6e6751120e9e84ef547a34beaa5323549a;hb=ea6550be4cca5d7da0897c13142d418afbb7d953;hp=bc3e64b1a622adfc3f985fe445090fb9a0c37911;hpb=8ad691c6cee242e05b260aee506e11f38dbce9dd;p=infrastructure.git diff --git a/scripts/git-daemon.init.d b/scripts/git-daemon.init.d index bc3e64b..0c6cde6 100755 --- a/scripts/git-daemon.init.d +++ b/scripts/git-daemon.init.d @@ -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