1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/codimd_ynh.git synced 2024-09-03 18:16:32 +02:00
This commit is contained in:
liberodark 2018-11-21 22:01:27 +01:00
parent 79904647b2
commit 16e3d1a394

View file

@ -120,9 +120,9 @@ ynh_setup_source "$final_path"
#================================================= #=================================================
# Main config File # Main config File
ynh_replace_string "__DB_USER__" "$db_user" "../conf/config.json.exemple" ynh_replace_string "__DB_USER__" "$db_user" "../conf/config.json.example"
ynh_replace_string "__DB_NAME__" "$db_name" "../conf/config.json.exemple" ynh_replace_string "__DB_NAME__" "$db_name" "../conf/config.json.example"
ynh_replace_string "__DB_PASS__" "$db_pass" "../conf/config.json.exemple" ynh_replace_string "__DB_PASS__" "$db_pass" "../conf/config.json.example"
cp ../conf/config.json.example $final_path/config.json cp ../conf/config.json.example $final_path/config.json
cp -a ../conf/codimd.service /etc/systemd/system/codimd.service cp -a ../conf/codimd.service /etc/systemd/system/codimd.service