1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00
This commit is contained in:
liberodark 2019-01-09 10:16:01 +01:00
parent 88e5213105
commit 5cb5c26c77

View file

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