mirror of
https://github.com/YunoHost-Apps/peertube_remote_runner_ynh.git
synced 2024-09-03 19:56:21 +02:00
Fix remove
This commit is contained in:
parent
fecd5790c3
commit
e7a4950201
1 changed files with 3 additions and 2 deletions
|
@ -10,10 +10,11 @@ source _common.sh
|
|||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# RUNNER REGISTRATION
|
||||
# RUNNER UNREGISTRATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Unregistering the runner on Peertube server..." --weight=1
|
||||
|
||||
ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_node peertube-runner unregister --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 "$install_dir/node_modules/@peertube/peertube-runner" unregister --url $peertube_url --registration-token $runner_token --runner-name $app\_$(hostname)
|
||||
|
||||
#=================================================
|
||||
# REMOVE SYSTEM CONFIGURATIONS
|
||||
|
|
Loading…
Add table
Reference in a new issue