1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/elasticsearch8_ynh.git synced 2024-09-03 18:26:26 +02:00

Update restore

This commit is contained in:
Éric Gaspar 2023-10-14 14:54:27 +02:00
parent e5c149a4d0
commit 78043188d1

View file

@ -34,7 +34,7 @@ chown -R $app:www-data "$data_dir"
#================================================= #=================================================
# RESTORE VARIOUS FILES # RESTORE VARIOUS FILES
#================================================= #=================================================
ynh_script_progression --message="Restoring various files..." ynh_script_progression --message="Restoring various files..." --weight=1
ynh_restore_file --origin_path="/etc/sysctl.d/90-max_map_count-elasticsearch.conf" ynh_restore_file --origin_path="/etc/sysctl.d/90-max_map_count-elasticsearch.conf"
if ! [ "${container:-}" = "lxc" ] # lxc doesn't allow sysctl to play with kernel options. if ! [ "${container:-}" = "lxc" ] # lxc doesn't allow sysctl to play with kernel options.