From 912f8fd321afd67c08ecbfa0cb3d5c07d0c69282 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sat, 27 Oct 2018 23:31:33 +0200 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 866b14e..5fee94f 100644 --- a/scripts/install +++ b/scripts/install @@ -124,7 +124,6 @@ sudo chown admin -R $install_log #================================================= pushd $final_path -ynh_replace_string "port: 8000" "port: $port" "$final_path/src/server/config.js" ynh_use_nodejs npm install >> $install_log 2>&1 NODE_ENV=production npm run build >> $install_log 2>&1 @@ -134,6 +133,7 @@ popd # Set right on directory and configure init script #================================================= +ynh_replace_string "8000" "$port" "$final_path/src/server/config.js" chown $app:$app $final_path -R chmod 755 $final_path -R chown $app:$app /var/log/$app/$app.log