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 20:04:13 +01:00
parent 8506dcc655
commit 7c4adb03c8

View file

@ -124,6 +124,7 @@ ynh_replace_string "__DB_USER__" "$db_user" "../conf/config.json.exemple"
ynh_replace_string "__DB_NAME__" "$db_name" "../conf/config.json.exemple"
ynh_replace_string "__DB_PASS__" "$db_pass" "../conf/config.json.exemple"
cp ../conf/config.json.exemple $final_path/config.json
cp -a ../conf/codimd.service /etc/systemd/system/codimd.service
#==============================================
# INSTALL CODIMD
@ -183,4 +184,6 @@ if [ $is_public -eq 1 ]; then
fi
# Reload services
systemctl enable codimd
systemctl start codimd
systemctl restart nginx