Commit 0c84c373 authored by Romain Courteaud's avatar Romain Courteaud

Create run directory needed to start services

parent 5acec6b2
...@@ -10,6 +10,7 @@ parts = ...@@ -10,6 +10,7 @@ parts =
request-cloudooo request-cloudooo
request-memcached request-memcached
request-kumofs request-kumofs
basedirectory
eggs-directory = ${buildout:eggs-directory} eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory} develop-eggs-directory = ${buildout:develop-eggs-directory}
...@@ -46,3 +47,12 @@ software-type = memcached ...@@ -46,3 +47,12 @@ software-type = memcached
<=request-common <=request-common
name = KumoFS name = KumoFS
software-type = kumofs software-type = kumofs
# rest of parts are candidates for some generic stuff
[basedirectory]
recipe = slapos.cookbook:mkdirectory
services = $${rootdirectory:etc}/run/
[rootdirectory]
recipe = slapos.cookbook:mkdirectory
etc = $${buildout:directory}/etc/
...@@ -90,7 +90,7 @@ mode = 0644 ...@@ -90,7 +90,7 @@ mode = 0644
[template-erp5-production] [template-erp5-production]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-erp5-production.cfg url = ${:_profile_base_location_}/instance-erp5-production.cfg
md5sum = ab7fe40d25c797df202fd1ac72cf491d md5sum = aae40b189c51ade58479f15de98bdbc6
output = ${buildout:directory}/template-erp5-production.cfg output = ${buildout:directory}/template-erp5-production.cfg
mode = 0644 mode = 0644
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment