use npm_node

This commit is contained in:
lapineige 2023-07-08 22:08:15 +02:00 committed by GitHub
parent d5512aa19e
commit be17e9d985
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ chown -R $app:www-data "$install_dir"
pushd "$install_dir"
ynh_use_nodejs
ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_npm install @peertube/peertube-runner
ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_node install @peertube/peertube-runner
popd
#=================================================