From 3fc424ce2c6215129ef98356700b39ff832fd2cd Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 8 Jul 2023 22:43:11 +0200 Subject: [PATCH] fix command syntax --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 4c471f2..304fbd5 100755 --- a/scripts/install +++ b/scripts/install @@ -66,8 +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") - ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_node "$install_dir/node_modules/.bin/peertube-runner" register --url $peertube_url --registration-token $runner_token --runner-name $app\_$(hostname) + ynh_exec_warn ynh_exec_as $app echo $(ls -a "$install_dir/node_modules/@peertube") + 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/.bin/peertube-runner" register --url $peertube_url --registration-token $runner_token --runner-name $app\_$(hostname) popd #=================================================