set -eux

# Source app helpers
source /usr/share/yunohost/helpers

app=$YNH_APP_INSTANCE_NAME
final_path=/var/www/$app
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
mkdir -p $final_path

cp ../conf/* /var/www/$app/
