srv directory should be volatile

This commit is contained in:
Emmanuel Garette 2020-09-16 11:17:05 +02:00
parent 408fdf22a2
commit 2c86780277
2 changed files with 10 additions and 3 deletions

View File

@ -34,13 +34,13 @@
<value>localhost</value>
</variable>
<variable name='risotto_messages_dir' type='filename' description='Emplacement des messages de lAPI' hidden='True'>
<value>/srv/risotto-message/messages</value>
<value>/usr/share/risotto-message/messages</value>
</variable>
<variable name='risotto_cache_dir' type='filename' description='Emplacement du cache' hidden='True'>
<value>/var/cache/risotto</value>
<value>/srv/risotto/cache/risotto</value>
</variable>
<variable name='risotto_seed_dir' type='filename' description='Emplacement des descriptions de services' hidden='True'>
<value>/srv/risotto/seed</value>
<value>/usr/share/risotto/seed</value>
</variable>
<variable name='risotto_factory_configuration_dir' type='filename' description='Emplacement de la configuration du provider factory' hidden='True'>
<value>/srv/factory/</value>

7
posttemplate/20-directories Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
for dir in risotto_messages_dir risotto_cache_dir risotto_seed_dir; do
mkdir -p $(CreoleGet dir)
done
exit 0