Difference between revisions of "SAC:GitDaemon"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | The git-daemon service is managed via [https://www.mikeperham.com/2014/07/07/use-runit/ runit] on the [[TracsvnVM]] machine as part of the [[SAC:Git Service]] offerings of OSGeo. | + | The '''git-daemon''' service is managed via [https://www.mikeperham.com/2014/07/07/use-runit/ runit] on the [[TracsvnVM]] machine as part of the [[SAC:Git Service]] offerings of OSGeo. |
− | Startup script is in | + | Startup script is in <code>/etc/sv/git-daemon</code>, the daemon is started to run as user ''gitdaemon'' and group ''git''. |
Running as group ''git'' gives the process access to repositories managed by [[SAC:Gogs]]. | Running as group ''git'' gives the process access to repositories managed by [[SAC:Gogs]]. | ||
− | The base-path is configured to be | + | The base-path is configured to be <code>/var/www/git/repos</code>. Symbolic links are followed. |
− | Directories under | + | Directories under <code>/var/www/git/repos</code> are accessible via <code>git://git.osgeo.org/DIR</code> |
[[Category:Infrastructure]] | [[Category:Infrastructure]] |
Revision as of 17:00, 19 April 2016
The git-daemon service is managed via runit on the TracsvnVM machine as part of the SAC:Git Service offerings of OSGeo.
Startup script is in /etc/sv/git-daemon
, the daemon is started to run as user gitdaemon and group git.
Running as group git gives the process access to repositories managed by SAC:Gogs.
The base-path is configured to be /var/www/git/repos
. Symbolic links are followed.
Directories under /var/www/git/repos
are accessible via git://git.osgeo.org/DIR