mirror of
https://github.com/YunoHost-Apps/peertube_remote_runner_ynh.git
synced 2024-09-03 19:56:21 +02:00
fix node_module
This commit is contained in:
parent
fb9c8c0f70
commit
59d7924c16
1 changed files with 2 additions and 2 deletions
|
@ -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/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)
|
||||
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)
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue