mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
fix
This commit is contained in:
parent
88e5213105
commit
5cb5c26c77
1 changed files with 4 additions and 4 deletions
|
@ -28,8 +28,8 @@ ynh_abort_if_errors
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH
|
path_url=$YNH_APP_ARG_PATH
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
user=$YNH_APP_ARG_IS_AD_USER
|
ad_user=$YNH_APP_ARG_IS_AD_USER
|
||||||
password=$YNH_APP_ARG_IS_AD_PASSWORD
|
ad_password=$YNH_APP_ARG_IS_AD_PASSWORD
|
||||||
|
|
||||||
### If it's a multi-instance app, meaning it can be installed several times independently
|
### 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
|
### 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 "__FINALPATH__" "$final_path" "../conf/systemd.service"
|
||||||
ynh_replace_string "__USER__" "$final_path" "../conf/AdGuardHome.yaml"
|
ynh_replace_string "__USER__" "$ad_user" "../conf/AdGuardHome.yaml"
|
||||||
ynh_replace_string "__PWD__" "$final_path" "../conf/AdGuardHome.yaml"
|
ynh_replace_string "__PWD__" "$ad_password" "../conf/AdGuardHome.yaml"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
|
|
Loading…
Reference in a new issue