Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos
Commits
886f34ba
Commit
886f34ba
authored
Aug 29, 2012
by
Antoine Catton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add git daemon service
parent
e9d8e7e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
software/gitrepo/instance-gitrepo.cfg
software/gitrepo/instance-gitrepo.cfg
+7
-0
software/gitrepo/software.cfg
software/gitrepo/software.cfg
+1
-1
No files found.
software/gitrepo/instance-gitrepo.cfg
View file @
886f34ba
...
@@ -10,6 +10,7 @@ parts =
...
@@ -10,6 +10,7 @@ parts =
httpd-conf
httpd-conf
gitweb-conf
gitweb-conf
gitweb-cgi
gitweb-cgi
gitdaemon
git-http-backend-cgi
git-http-backend-cgi
htpasswd
htpasswd
pwgen
pwgen
...
@@ -66,6 +67,12 @@ mode = 700
...
@@ -66,6 +67,12 @@ mode = 700
githttpbackend = ${git:location}/libexec/git-core/git-http-backend
githttpbackend = ${git:location}/libexec/git-core/git-http-backend
[gitdaemon]
recipe = slapos.cookbook:wrapper
ip = $${slap-network-information:global-ipv6}
port = 9418
command-line = ${git:location}/bin/git daemon --export-all --listen=$${:ip} --port=$${:port} --interpolated-path=$${git-repos:base-directory}/%D
output = $${basedirectory:services}/git-daemon
[htpasswd]
[htpasswd]
recipe = collective.recipe.cmd
recipe = collective.recipe.cmd
...
...
software/gitrepo/software.cfg
View file @
886f34ba
...
@@ -27,7 +27,7 @@ mode = 0644
...
@@ -27,7 +27,7 @@ mode = 0644
[template-gitrepo]
[template-gitrepo]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-gitrepo.cfg
url = ${:_profile_base_location_}/instance-gitrepo.cfg
md5sum =
4c6cc7f6e1a36e73d50069f5b7465302
md5sum =
0e690b9a11010c1597efab0e3de2d224
output = ${buildout:directory}/template-gitrepo.cfg
output = ${buildout:directory}/template-gitrepo.cfg
mode = 0644
mode = 0644
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment