mirror of
https://github.com/YunoHost-Apps/hedgedoc_ynh.git
synced 2024-09-03 19:25:52 +02:00
fix
This commit is contained in:
parent
eb2f062d8b
commit
eb72179fe5
2 changed files with 12 additions and 1 deletions
|
@ -78,7 +78,7 @@ popd
|
||||||
ynh_script_progression --message="Modifying a config file..." --weight=1
|
ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||||
|
|
||||||
url_path=${path#/}
|
url_path=${path#/}
|
||||||
ynh_add_config --template="../conf/config.json.example" --destination="$install_dir/config.json"
|
ynh_add_config --template="config.json.example" --destination="$install_dir/config.json"
|
||||||
|
|
||||||
chmod 600 "$install_dir/config.json"
|
chmod 600 "$install_dir/config.json"
|
||||||
chown $app:$app "$install_dir/config.json"
|
chown $app:$app "$install_dir/config.json"
|
||||||
|
|
|
@ -98,6 +98,17 @@ then
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# MODIFY A CONFIG FILE
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||||
|
|
||||||
|
url_path=${path#/}
|
||||||
|
ynh_add_config --template="config.json.example" --destination="$install_dir/config.json"
|
||||||
|
|
||||||
|
chmod 600 "$install_dir/config.json"
|
||||||
|
chown $app:$app "$install_dir/config.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue