mirror of
https://github.com/YunoHost-Apps/peertube_remote_runner_ynh.git
synced 2024-09-03 19:56:21 +02:00
fix typo
This commit is contained in:
parent
7f4cc53367
commit
257583ef90
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ chown -R $app:www-data "$install_dir"
|
|||
|
||||
pushd "$install_dir"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_node install @peertube/peertube-runner
|
||||
ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_npm install @peertube/peertube-runner
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
@ -66,7 +66,7 @@ ynh_script_progression --message="Registering the runner on Peertube server..."
|
|||
|
||||
pushd "$install_dir"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_npm peertube-runner register --url $peertube_url --registration-token $runner_token --runner-name $app\_$(hostname)
|
||||
ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_node peertube-runner register --url $peertube_url --registration-token $runner_token --runner-name $app\_$(hostname)
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue