dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout: burettes en masse
[lhc/ateliers.git]
/
etc
/
sv
/
openerp7_burette
/
run
diff --git
a/etc/sv/openerp7_burette/run
b/etc/sv/openerp7_burette/run
index
5a855c3
..
b658341
100755
(executable)
--- a/
etc/sv/openerp7_burette/run
+++ b/
etc/sv/openerp7_burette/run
@@
-17,7
+17,7
@@
export LOGNAME="$sv"
d = h.split('.')[0]
r = openerp.tools.config['dbfilter'].replace('%h', h).replace('%d', d)
+ try:
d = h.split('.')[0]
r = openerp.tools.config['dbfilter'].replace('%h', h).replace('%d', d)
+ try:
- + f = req.httprequest.environ['HTTP_OPENERP_DB_FILTER']
or ''
+ + f = req.httprequest.environ['HTTP_OPENERP_DB_FILTER']
+ r = r.replace('%f', f)
+ except KeyError:
+ pass
+ r = r.replace('%f', f)
+ except KeyError:
+ pass
@@
-26,12
+26,20
@@
export LOGNAME="$sv"
EOF
for db in \
EOF
for db in \
+ autourducycle \
+ cyclo_ivry \
cyclo_ivry \
cyclo_pantin \
cyclo_paris_est \
cyclo_ivry \
cyclo_pantin \
cyclo_paris_est \
+ cyclofficine_angouleme \
dynamo \
dynamo \
+ labecaneajules \
+ ohcyclo \
ptitvelo \
ptitvelo \
+ repeyre \
+ txirrindola \
velorution_idf \
velorution_idf \
+ velorution_toulouse \
velosenville \
vieuxbiclou
do
velosenville \
vieuxbiclou
do
@@
-54,7
+62,7
@@
for db in \
--stop-after-init \
--timezone="$(cat /etc/timezone)" \
--without-demo=base \
--stop-after-init \
--timezone="$(cat /etc/timezone)" \
--without-demo=base \
- --workers=
4
\
+ --workers=
0
\
--xmlrpc-interface=127.0.0.1 \
--xmlrpc-port=8069
#--no-database-list \
--xmlrpc-interface=127.0.0.1 \
--xmlrpc-port=8069
#--no-database-list \