From 7c4adb03c8ff6941436c48b32ff92a150ce6328a Mon Sep 17 00:00:00 2001 From: liberodark Date: Wed, 21 Nov 2018 20:04:13 +0100 Subject: [PATCH] up --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index a77e8c4..d4bf371 100644 --- a/scripts/install +++ b/scripts/install @@ -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