improve debug

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

View file

@ -66,7 +66,7 @@ ynh_script_progression --message="Registering the runner on Peertube server..."
pushd "$install_dir"
ynh_use_nodejs
ynh_exec_warn ynh_exec_as $app echo $(ls -a "$install_dir/")
ynh_exec_warn ynh_exec_as $app echo $(ls -a "$install_dir/nodes_modules")
ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_node "$install_dir/nodes_modules/.bin/peertube-runner" register --url $peertube_url --registration-token $runner_token --runner-name $app\_$(hostname)
popd