Revise git daemon startup command

This commit is contained in:
Pitterle, Matthew D
2019-03-04 17:42:03 -08:00
committed by George T Kramer
parent 4968243eca
commit 9a0c4f250e

View File

@@ -36,7 +36,7 @@ if $IS_ANONYMOUS_GIT_NEEDED; then
Description=Git Daemon
[Service]
ExecStart=/usr/bin/git daemon --reuseaddr --base-path=$GIT_DEFAULT_DIR $GIT_DEFAULT_DIR
ExecStart=/usr/bin/git daemon --export-all --reuseaddr --base-path=$GIT_DEFAULT_DIR/repositories $GIT_DEFAULT_DIR/repositories
Restart=always
RestartSec=500ms