1
0
Fork 0
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:
frju365 2017-12-28 23:05:03 +01:00 committed by GitHub
parent 4438210145
commit 9b2ea7bc77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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