Compare commits
8 Commits
pkg/dev/ri
...
develop
Author | SHA1 | Date | |
---|---|---|---|
a9bda337a1 | |||
3a82a76c39 | |||
b83e20ce22 | |||
4e4a6469d5 | |||
d7d406ffcc | |||
b0e81c15f7 | |||
d55098922b | |||
e090026120 |
@ -2,7 +2,10 @@
|
|||||||
<creole>
|
<creole>
|
||||||
<files>
|
<files>
|
||||||
<service>risotto</service>
|
<service>risotto</service>
|
||||||
<file name='/etc/risotto/risotto.conf' owner="risotto"/>
|
<service_access service='risotto'>
|
||||||
|
<port>8080</port>
|
||||||
|
</service_access>
|
||||||
|
<file name='/etc/risotto/risotto.conf' owner="risotto" mkdir='True' rm='True'/>
|
||||||
<file name='/etc/eole/eole-db.d/risotto.yml' mkdir='True' rm='True'/>
|
<file name='/etc/eole/eole-db.d/risotto.yml' mkdir='True' rm='True'/>
|
||||||
<file name='/etc/eole/eole-db.d/tiramisu.yml'/>
|
<file name='/etc/eole/eole-db.d/tiramisu.yml'/>
|
||||||
</files>
|
</files>
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=risotto
|
Description=risotto
|
||||||
|
After=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type=notify
|
||||||
ExecStart=/usr/bin/risotto-server
|
ExecStart=/usr/bin/risotto-server
|
||||||
User=risotto
|
User=risotto
|
||||||
Group=risotto
|
Group=risotto
|
||||||
|
@ -1,20 +1,40 @@
|
|||||||
CONFIGURATION_DIR=%%risotto_configuration_dir
|
CONFIGURATION_DIR=%%risotto_configuration_dir
|
||||||
TMP_DIR=%%risotto_temp_dir
|
TMP_DIR="%%risotto_temp_dir"
|
||||||
IMAGE_PATH=%%risotto_images_dir
|
IMAGE_PATH="%%risotto_images_dir"
|
||||||
DEFAULT_USER=%%risotto_default_user
|
DEFAULT_USER="%%risotto_default_user"
|
||||||
RISOTTO_DB_NAME=%%risotto_main_dbname
|
RISOTTO_DB_NAME="%%risotto_main_dbname"
|
||||||
RISOTTO_DB_USER=%%risotto_db_user
|
RISOTTO_DB_USER="%%risotto_db_user"
|
||||||
RISOTTO_DB_PASSWORD=replace_me
|
RISOTTO_DB_PASSWORD=replace_me
|
||||||
TIRAMISU_DB_NAME=%%risotto_tiramisu_dbname
|
TIRAMISU_DB_NAME="%%risotto_tiramisu_dbname"
|
||||||
TIRAMISU_DB_USER=%%risotto_tiramisu_db_user
|
TIRAMISU_DB_USER="%%risotto_tiramisu_db_user"
|
||||||
TIRAMISU_DB_PASSWORD=replace_me
|
TIRAMISU_DB_PASSWORD=replace_me
|
||||||
DB_ADDRESS=%%risotto_db_address
|
RISOTTO_URL="http://%%nom_domaine_machine:8080/"
|
||||||
MESSAGE_PATH=%%risotto_messages_dir
|
DB_ADDRESS="%%risotto_db_address"
|
||||||
CACHE_ROOT_PATH=%%risotto_cache_dir
|
MESSAGE_PATH="%%risotto_messages_dir"
|
||||||
SRV_SEED_PATH=%%risotto_seed_dir
|
CACHE_ROOT_PATH="%%risotto_cache_dir"
|
||||||
|
SRV_SEED_PATH="%%risotto_seed_dir"
|
||||||
%set %%var = %%getVar('celeryrisotto_db_user', None)
|
%set %%var = %%getVar('celeryrisotto_db_user', None)
|
||||||
%if not %%is_empty(%%var)
|
%if not %%is_empty(%%var)
|
||||||
CELERYRISOTTO_DB_NAME=%%celeryrisotto_main_dbname
|
CELERYRISOTTO_DB_NAME="%%celeryrisotto_main_dbname"
|
||||||
CELERYRISOTTO_DB_USER=%%var
|
CELERYRISOTTO_DB_USER="%%var"
|
||||||
CELERYRISOTTO_DB_PASSWORD=replace_me
|
CELERYRISOTTO_DB_PASSWORD=replace_me
|
||||||
%end if
|
%end if
|
||||||
|
%set %%var = %%getVar('lemur_db_user', None)
|
||||||
|
%if not %%is_empty(%%var)
|
||||||
|
LEMUR_DB_NAME="%%lemur_db_name"
|
||||||
|
LEMUR_DB_USER="%%var"
|
||||||
|
LEMUR_DB_PASSWORD='replace_me'
|
||||||
|
%end if
|
||||||
|
%set %%var = %%getVar('password_admin_username', None)
|
||||||
|
%if not %%is_empty(%%var)
|
||||||
|
PASSWORD_ADMIN_USERNAME="%%password_admin_username"
|
||||||
|
PASSWORD_ADMIN_EMAIL="%%password_admin_email"
|
||||||
|
PASSWORD_ADMIN_PASSWORD="%%password_admin_password"
|
||||||
|
PASSWORD_DEVICE_IDENTIFIER="%%password_device_identifier"
|
||||||
|
PASSWORD_URL="https://%%nom_domaine_machine:8001/"
|
||||||
|
PASSWORD_LENGTH=%%password_length
|
||||||
|
%end if
|
||||||
|
%if %%getVar('lemur_db_name', None)
|
||||||
|
PKI_ADMIN_PASSWORD="%%lemur_admin_password"
|
||||||
|
PKI_ADMIN_EMAIL="%%lemur_admin_email"
|
||||||
|
%end if
|
||||||
|
Reference in New Issue
Block a user