Difference between revisions of "SAC:GitDaemon"

From OSGeo
Jump to navigation Jump to search
(Created page with "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 OSG...")
 
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 ''/etc/sv/git-daemon'', the daemon is started to run as user ``gitdaemon``, which is made part of the ``git`` group. The base-path is configured to be ''/var/www/git/repos''
+
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''
  
 
[[Category:Infrastructure]]
 
[[Category:Infrastructure]]

Revision as of 10:08, 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