zope2 service... indentation fix
This commit is contained in:
parent
1fc7d6ddb2
commit
af0e2ccf45
@ -149,7 +149,8 @@ if _interactive:
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
conf = pkgs.writeText "zope2-${name}-conf"
|
conf = pkgs.writeText "zope2-${name}-conf"
|
||||||
''%define INSTANCEHOME ${env}
|
''
|
||||||
|
%define INSTANCEHOME ${env}
|
||||||
instancehome $INSTANCEHOME
|
instancehome $INSTANCEHOME
|
||||||
%define CLIENTHOME /var/lib/zope2/${name}
|
%define CLIENTHOME /var/lib/zope2/${name}
|
||||||
clienthome $CLIENTHOME
|
clienthome $CLIENTHOME
|
||||||
@ -201,7 +202,8 @@ container-class Products.TemporaryFolder.TemporaryContainer
|
|||||||
${opts.extra}
|
${opts.extra}
|
||||||
'';
|
'';
|
||||||
ctlScript = pkgs.writeScript "zope2-${name}-ctl-script"
|
ctlScript = pkgs.writeScript "zope2-${name}-ctl-script"
|
||||||
''#!${env}/bin/python
|
''
|
||||||
|
#!${env}/bin/python
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import plone.recipe.zope2instance.ctl
|
import plone.recipe.zope2instance.ctl
|
||||||
@ -213,7 +215,8 @@ if __name__ == '__main__':
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
ctl = pkgs.writeScript "zope2-${name}-ctl"
|
ctl = pkgs.writeScript "zope2-${name}-ctl"
|
||||||
''#!${pkgs.bash}/bin/bash -e
|
''
|
||||||
|
#!${pkgs.bash}/bin/bash -e
|
||||||
export PYTHONHOME=${env}
|
export PYTHONHOME=${env}
|
||||||
exec ${ctlScript} "$@"
|
exec ${ctlScript} "$@"
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user