Difference between revisions of "SAC:GitDaemon"

From OSGeo
Jump to navigation Jump to search
(gogs->gitea)
 
(4 intermediate revisions by one other user not shown)
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'' and group ''git''.
+
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:Gitea]].  
  
The base-path is configured to be ''/var/www/git/repos''. Symbolic links are followed.
+
The base-path is configured to be <code>/var/www/git/repos</code>. Symbolic links are followed.
 +
 
 +
Directories under <code>/var/www/git/repos</code> are accessible via <code>git://git.osgeo.org/DIR</code>
  
Directories under ''/var/www/git/repos'' are accessible via ''git://git.osgeo.org/DIR''
 
  
 
[[Category:Infrastructure]]
 
[[Category:Infrastructure]]

Latest revision as of 04:13, 17 December 2017

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:Gitea.

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