From 4d61d3fe1185ff97549dc7bbdb796aacd2a95fe1 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 8 Jul 2023 22:49:26 +0200 Subject: [PATCH] debug --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 1baecb0..1898f3a 100755 --- a/scripts/install +++ b/scripts/install @@ -66,7 +66,8 @@ 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/node_modules/@peertube") + #ynh_exec_warn ynh_exec_as $app echo $(ls -a "$install_dir/node_modules/@peertube") + ynh_exec_warn ynh_exec_as $app echo $(systemctl status peertube_remote_runner) ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_node "$install_dir/node_modules/@peertube/peertube-runner" register --url $peertube_url --registration-token $runner_token --runner-name $app\_$(hostname) popd