diff --git a/scripts/install b/scripts/install index f409973..bdb9621 100644 --- a/scripts/install +++ b/scripts/install @@ -28,8 +28,8 @@ ynh_abort_if_errors domain=$YNH_APP_ARG_DOMAIN path_url=$YNH_APP_ARG_PATH is_public=$YNH_APP_ARG_IS_PUBLIC -user=$YNH_APP_ARG_IS_AD_USER -password=$YNH_APP_ARG_IS_AD_PASSWORD +ad_user=$YNH_APP_ARG_IS_AD_USER +ad_password=$YNH_APP_ARG_IS_AD_PASSWORD ### If it's a multi-instance app, meaning it can be installed several times independently ### The id of the app as stated in the manifest is available as $YNH_APP_ID @@ -102,8 +102,8 @@ ynh_setup_source "$final_path" #================================================= ynh_replace_string "__FINALPATH__" "$final_path" "../conf/systemd.service" -ynh_replace_string "__USER__" "$final_path" "../conf/AdGuardHome.yaml" -ynh_replace_string "__PWD__" "$final_path" "../conf/AdGuardHome.yaml" +ynh_replace_string "__USER__" "$ad_user" "../conf/AdGuardHome.yaml" +ynh_replace_string "__PWD__" "$ad_password" "../conf/AdGuardHome.yaml" #================================================= # SETUP SYSTEMD