7965: Fail orphaned jobs still marked "running" after reboot.
[arvados.git] / services / arv-git-httpd / main.go
index 0e92393e29ffc916e9a128f4cfe10aaa7930ef5e..98695c9a9df806164afc59c128e204cb52547cc9 100644 (file)
@@ -19,7 +19,7 @@ func init() {
        flag.StringVar(&theConfig.Addr, "address", "0.0.0.0:80",
                "Address to listen on, \"host:port\".")
        flag.StringVar(&theConfig.GitCommand, "git-command", "/usr/bin/git",
-               "Path to git executable. Each authenticated request will execute this program with a single argument, \"http-backend\".")
+               "Path to git or gitolite-shell executable. Each authenticated request will execute this program with a single argument, \"http-backend\".")
        cwd, err := os.Getwd()
        if err != nil {
                log.Fatalln("Getwd():", err)
@@ -43,6 +43,7 @@ func main() {
                log.Fatal(err)
        }
        log.Println("Listening at", srv.Addr)
+       log.Println("Repository root", theConfig.Root)
        if err := srv.Wait(); err != nil {
                log.Fatal(err)
        }