1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00

Update install

This commit is contained in:
ericgaspar 2021-06-29 22:38:45 +02:00
parent 36a8933894
commit b1bca21c4e
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -120,9 +120,12 @@ ynh_add_nginx_config
#==============================================
ynh_script_progression --message="Building $app... (this will take some time and resources!)" --weight=240
pushd "$final_path"
ynh_npm install
popd
chown -R $app: $final_path
pushd $final_path || ynh_die
ynh_use_nodejs
ynh_exec_as $app env $ynh_node_load_PATH npm install
popd || ynh_die
#=================================================
# SETUP SYSTEMD