1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fab-manager_ynh.git synced 2024-09-03 18:36:16 +02:00

several fixes

This commit is contained in:
yalh76 2022-04-24 20:56:03 +02:00
parent 87e91a3a03
commit d0d2452eac
4 changed files with 5 additions and 8 deletions

View file

@ -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 {

View file

@ -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"
}
]
}

View file

@ -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

View file

@ -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