diff --git a/scripts/install b/scripts/install index c172c68..76a553c 100755 --- a/scripts/install +++ b/scripts/install @@ -27,7 +27,7 @@ chown -R $app:www-data "$install_dir" pushd "$install_dir" ynh_use_nodejs - ynh_exec_as $app $ynh_npm install -g @peertube/peertube-runner + ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_npm install -g @peertube/peertube-runner popd #=================================================