Commit bcc64932 authored by Jérome Perrin's avatar Jérome Perrin

stack/erp5: set $TMPDIR in zeo partition

zeo uses temporary files during commit, we want to keep these temporary
files in its partition.
The reason which motivated this change was to prevent problems when
system /tmp is full. It's also consistent to how we configure other
services.
parent 9022551e
Pipeline #36660 failed with stage
in 0 seconds
...@@ -78,7 +78,7 @@ md5sum = d6f7d2fa1bde019892897c767f93e089 ...@@ -78,7 +78,7 @@ md5sum = d6f7d2fa1bde019892897c767f93e089
[template-zeo] [template-zeo]
filename = instance-zeo.cfg.in filename = instance-zeo.cfg.in
md5sum = cfc3a6a9ce54415b57b9f935524c0d41 md5sum = 3190fb6b2380ffbef40db62e1d4ba4d0
[template-zeo-conf] [template-zeo-conf]
filename = zeo.conf.in filename = zeo.conf.in
......
...@@ -56,6 +56,9 @@ base-name = {{ "${" ~ zeo_section_name ~"-conf:base-name}" }} ...@@ -56,6 +56,9 @@ base-name = {{ "${" ~ zeo_section_name ~"-conf:base-name}" }}
log-path = {{ "${" ~ zeo_section_name ~"-conf:log-path}" }} log-path = {{ "${" ~ zeo_section_name ~"-conf:log-path}" }}
wrapper-path = ${directory:services}/${:base-name} wrapper-path = ${directory:services}/${:base-name}
command-line = {{ bin_directory }}/runzeo -C {{ "${" ~ zeo_section_name ~"-conf:output}" }} command-line = {{ bin_directory }}/runzeo -C {{ "${" ~ zeo_section_name ~"-conf:output}" }}
environment =
TMPDIR=${directory:tmp}
TMP=${directory:tmp}
[{{ section("logrotate-" ~ zeo_section_name) }}] [{{ section("logrotate-" ~ zeo_section_name) }}]
< = logrotate-entry-base < = logrotate-entry-base
...@@ -206,6 +209,7 @@ srv = ${buildout:directory}/srv ...@@ -206,6 +209,7 @@ srv = ${buildout:directory}/srv
var = ${buildout:directory}/var var = ${buildout:directory}/var
log = ${:var}/log log = ${:var}/log
run = ${:var}/run run = ${:var}/run
tmp = ${buildout:directory}/tmp
backup-zodb = {{ default_backup_path }} backup-zodb = {{ default_backup_path }}
zodb = {{ default_zodb_path }} zodb = {{ default_zodb_path }}
tidstorage = {{ tidstorage_repozo_path }} tidstorage = {{ tidstorage_repozo_path }}
......
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