mirror of
https://github.com/YunoHost-Apps/peertube_remote_runner_ynh.git
synced 2024-09-03 19:56:21 +02:00
Runner registration
This commit is contained in:
parent
a554a18aa5
commit
4d1fca0c85
1 changed files with 8 additions and 0 deletions
|
@ -57,6 +57,14 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||||
# Start a systemd service
|
# Start a systemd service
|
||||||
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
|
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# SPECIFIC FINALIZATION
|
||||||
|
#=================================================
|
||||||
|
# RUNNER REGISTRATION
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
peertube-runner register --url runner_url --registration-token runner_token --runner-name $app$(hostname)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue