Commit 7563c00f authored by Łukasz Nowak's avatar Łukasz Nowak

Expose inituser directly.

parent a3012946
...@@ -52,9 +52,8 @@ class Recipe(GenericBaseRecipe): ...@@ -52,9 +52,8 @@ class Recipe(GenericBaseRecipe):
So, do not request zope instance and create multiple in the same partition. So, do not request zope instance and create multiple in the same partition.
""" """
path_list = [] path_list = []
Zope2InitUser( Zope2InitUser(self.options['inituser'], self.options['user'],
os.path.join(self.erp5_directory, "inituser"), self.options['user'], self.options['password'])
self.options['password'])
# Symlink to BT5 repositories defined in instance config. # Symlink to BT5 repositories defined in instance config.
# Those paths will eventually end up in the ZODB, and having symlinks # Those paths will eventually end up in the ZODB, and having symlinks
......
...@@ -44,7 +44,7 @@ lock = $${basedirectory:run}/zope.lock ...@@ -44,7 +44,7 @@ lock = $${basedirectory:run}/zope.lock
event-log = $${basedirectory:log}/zope-event.log event-log = $${basedirectory:log}/zope-event.log
z2-log = $${basedirectory:log}/zope-Z2.log z2-log = $${basedirectory:log}/zope-Z2.log
conf-file = $${rootdirectory:etc}/zope.conf conf-file = $${rootdirectory:etc}/zope.conf
inituser = $${:instance-path}/inituser
# Binary information # Binary information
runzope-binary = ${buildout:bin-directory}/runzope runzope-binary = ${buildout:bin-directory}/runzope
......
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