Commit | Line | Data |
---|---|---|
1 | # userv configuration for git-daemon git-upload-pack service | |
2 | # | |
3 | # This was written by Tony Finch <dot@dotat.at> | |
4 | # You may do anything with it, at your own risk. | |
5 | # http://creativecommons.org/publicdomain/zero/1.0/ | |
6 | ||
7 | if ( grep service-user-shell /etc/shells | |
8 | & glob service git-upload-pack | |
9 | & glob calling-user git | |
10 | ) | |
11 | reset | |
12 | errors-to-syslog daemon error | |
13 | execute @libuserv@/git-service @etcuserv@/git-urlmap .userv/git-urlmap | |
14 | fi | |
15 | ||
16 | # end |