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