mirror of
https://github.com/YunoHost-Apps/kiwiirc_ynh.git
synced 2024-09-03 19:35:59 +02:00
add server
This commit is contained in:
parent
472e27fecf
commit
df86380aea
2 changed files with 9 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"windowTitle": "Kiwi IRC - The web IRC client",
|
"windowTitle": "Kiwi IRC - The web IRC client",
|
||||||
"startupScreen": "welcome",
|
"startupScreen": "welcome",
|
||||||
"kiwiServer": "https://localdev.clients.kiwiirc.com/webirc/kiwiirc/",
|
"kiwiServer": "https://__DOMAIN____PATH__/",
|
||||||
"restricted": false,
|
"restricted": false,
|
||||||
"theme": "Default",
|
"theme": "Default",
|
||||||
"themes": [
|
"themes": [
|
||||||
|
|
|
@ -86,18 +86,18 @@ ynh_system_user_create --username=$app --home_dir=$final_path
|
||||||
# #=================================================
|
# #=================================================
|
||||||
# # MODIFY A CONFIG FILE
|
# # MODIFY A CONFIG FILE
|
||||||
# #=================================================
|
# #=================================================
|
||||||
# ynh_script_progression --message="Modifying a config file..."
|
ynh_script_progression --message="Modifying a config file..."
|
||||||
|
|
||||||
# cp ../conf/config.json.example "$final_path/static/config.json"
|
cp ../conf/config.json.example "$final_path/static/config.json"
|
||||||
|
|
||||||
# # Main config File
|
# Main config File
|
||||||
# ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config.json"
|
#ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config.json"
|
||||||
# ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$final_path/config.json"
|
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$final_path/static/config.json"
|
||||||
# ynh_replace_string --match_string="__PATH__" --replace_string="${path_url:1}" --target_file="$final_path/config.json"
|
ynh_replace_string --match_string="__PATH__" --replace_string="${path_url:1}" --target_file="$final_path/static/config.json"
|
||||||
|
|
||||||
# ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$final_path/config.json"
|
#ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$final_path/config.json"
|
||||||
|
|
||||||
# ynh_store_file_checksum --file="$final_path/config.json"
|
ynh_store_file_checksum --file="$final_path/static/config.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SECURE FILES AND DIRECTORIES
|
# SECURE FILES AND DIRECTORIES
|
||||||
|
|
Loading…
Add table
Reference in a new issue