diff --git a/conf/nginx.conf b/conf/nginx.conf index ec431c9..a439d06 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -17,7 +17,7 @@ location ^~ /packs/ { alias __FINALPATH__/public/packs/ ; gzip_static on; expires max; - add_header Cache-Control public; + more_set_headers "Cache-Control: public"; } location @puma { diff --git a/manifest.json b/manifest.json index ae7f6f6..d06ea19 100644 --- a/manifest.json +++ b/manifest.json @@ -53,11 +53,7 @@ }, { "name": "password", - "type": "password", - "help": { - "en": "Use the help field to add an information for the admin about this question.", - "fr": "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question." - } + "type": "password" } ] } diff --git a/scripts/install b/scripts/install index 4053836..4a1a0e4 100755 --- a/scripts/install +++ b/scripts/install @@ -187,7 +187,7 @@ ynh_script_progression --message="Configuring a systemd service..." # Create a dedicated systemd config ynh_add_supervisor_config systemctl daemon-reload -systemctl enable elasticsearch.service +systemctl enable elasticsearch.service --quiet #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 1d50871..aba4d66 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -179,7 +179,8 @@ ynh_use_logrotate --non-append #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --log="/var/log/$app/$app.log" +yunohost service add $app --log="/var/log/supervisor/$app-app-stdout.log /var/log/supervisor/$app-worker-stdout.log" +yunohost service add elasticsearch --log="/var/log/elasticsearch/elasticsearch.log" #================================================= # START SYSTEMD SERVICE