summaryrefslogtreecommitdiffstats
path: root/roles/git/server/templates/git.j2
blob: 5c08297ef85f001e24a21612e9d3276fd2d18c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# default: off
# description: The git server offers access to git repositories
service git
{
        disable         = no
        type            = UNLISTED
        port            = {{ git_port }}
        socket_type     = stream
        wait            = no
        groups          = yes
        group           = {{ git_group }}
        user            = nobody
        server          = {{ git_server }}
        server_args     = {{ git_server_args }} --base-path={{ git_basepath }} --base-path-relaxed
        log_on_failure  += HOST
}