mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
Update install
This commit is contained in:
parent
4438210145
commit
9b2ea7bc77
1 changed files with 8 additions and 8 deletions
|
@ -167,14 +167,14 @@ cat /etc/systemd/system/$app.service
|
|||
# CONFIGURE SERVER.JS
|
||||
#=================================================
|
||||
|
||||
mv ../conf/config.json $final_path/config.json
|
||||
ynh_replace_string "__URL__" "$domain" "$final_path/config.json"
|
||||
ynh_replace_string "__PORT__" "$port" "$final_path/config.json"
|
||||
ynh_replace_string "__SECRET__" "$secret" "$final_path/config.json"
|
||||
ynh_replace_string "dbuser" "$dbuser" "$final_path/config.json"
|
||||
ynh_replace_string "dbname" "$dbname" "$final_path/config.json"
|
||||
ynh_replace_string "dbpass" "$dbpass" "$final_path/config.json"
|
||||
cat $final_path/config.json
|
||||
#mv ../conf/config.json $final_path/config.json
|
||||
#ynh_replace_string "__URL__" "$domain" "$final_path/config.json"
|
||||
#ynh_replace_string "__PORT__" "$port" "$final_path/config.json"
|
||||
#ynh_replace_string "__SECRET__" "$secret" "$final_path/config.json"
|
||||
#ynh_replace_string "dbuser" "$dbuser" "$final_path/config.json"
|
||||
#ynh_replace_string "dbname" "$dbname" "$final_path/config.json"
|
||||
#ynh_replace_string "dbpass" "$dbpass" "$final_path/config.json"
|
||||
#cat $final_path/config.json
|
||||
|
||||
#=================================================
|
||||
# CONFIGURE NODEBB
|
||||
|
|
Loading…
Reference in a new issue