Commit 3bdc7451 authored by Julien Muchembled's avatar Julien Muchembled

NEO: use simpler wrappers for services

parent 4a3b1752
...@@ -43,7 +43,6 @@ class NeoBaseRecipe(GenericBaseRecipe): ...@@ -43,7 +43,6 @@ class NeoBaseRecipe(GenericBaseRecipe):
# useful, as per NEO deploying constraints. # useful, as per NEO deploying constraints.
raise UserError('"masters" parameter is mandatory') raise UserError('"masters" parameter is mandatory')
option_list = [ option_list = [
options['binary'],
'-l', options['logfile'], '-l', options['logfile'],
'-m', options['masters'], '-m', options['masters'],
'-b', self._getBindingAddress(), '-b', self._getBindingAddress(),
...@@ -59,9 +58,9 @@ class NeoBaseRecipe(GenericBaseRecipe): ...@@ -59,9 +58,9 @@ class NeoBaseRecipe(GenericBaseRecipe):
'--key', etc + 'neo.key', '--key', etc + 'neo.key',
) )
option_list.extend(self._getOptionList()) option_list.extend(self._getOptionList())
return [self.createPythonScript( return [self.createWrapper(
options['wrapper'], options['wrapper'],
'slapos.recipe.librecipe.execute.execute', options['binary'],
option_list option_list
)] )]
......
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