From 1ab2ac6fe65e291302a3e2eca57074b17f72f21d Mon Sep 17 00:00:00 2001 From: Hadrien Date: Mon, 1 Nov 2021 20:33:37 +0300 Subject: [PATCH] fix pm2 install --- scripts/_common.sh | 2 +- scripts/install | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index da001b2..7cb2689 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="npm git pm2 nodejs" +pkg_dependencies="npm git nodejs" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index fbed4ea..a832a7d 100755 --- a/scripts/install +++ b/scripts/install @@ -195,8 +195,9 @@ ynh_add_nginx_config #================================================= # SPECIFIC SETUP #================================================= -# ... +# Install pm2 (may be replaced by adequate systemd conf) #================================================= +npm install pm2 -g #================================================= # CREATE DATA DIRECTORY