This commit is contained in:
lapineige 2023-07-09 11:06:39 +02:00 committed by GitHub
parent e7a4950201
commit 48d6c9850b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,8 +66,6 @@ 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 $(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