mirror of
https://github.com/YunoHost-Apps/peertube_remote_runner_ynh.git
synced 2024-09-03 19:56:21 +02:00
Merge pull request #8 from YunoHost-Apps/testing
Automated testing -> master
This commit is contained in:
commit
21109fbbba
5 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
The app url is `__DOMAIN____PATH__`. You will not need this in the future, the runner will contact Peertube directly.
|
||||
The app url is `__DOMAIN____PATH__`. You will not need this in the future, the runner will contact PeerTube directly.
|
||||
|
||||
The app install dir is `__INSTALL_DIR__`.
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
To install this app, you will need to specify one Peertube server URL (the use of several servers is not supported yet out of the box, it requires to run a specific command).
|
||||
You will also need a remote runner token : https://docs.joinpeertube.org/admin/remote-runners#manage-remote-runners
|
||||
You will also need a remote runner token: https://docs.joinpeertube.org/admin/remote-runners#manage-remote-runners
|
||||
|
|
|
@ -21,7 +21,7 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
|||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing Peertube remote runner npm module..." --weight=1
|
||||
ynh_script_progression --message="Installing PeerTube remote runner npm module..." --weight=1
|
||||
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
|
@ -33,12 +33,12 @@ popd
|
|||
#=================================================
|
||||
# SYSTEM CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Adding peertube runner service $app..." --weight=1
|
||||
ynh_script_progression --message="Adding PeerTube runner service $app..." --weight=1
|
||||
|
||||
# Create a dedicated systemd config
|
||||
ynh_add_systemd_config
|
||||
|
||||
yunohost service add $app --description="Peertube remote runner" --log="/var/log/$app/$app.log"
|
||||
yunohost service add $app --description="PeerTube remote runner" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
|
@ -41,7 +41,7 @@ ynh_script_progression --message="Restoring system configurations related to $ap
|
|||
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
|
||||
systemctl enable $app.service --quiet
|
||||
|
||||
yunohost service add $app --description="Peertube remote runner" --log="/var/log/$app/$app.log"
|
||||
yunohost service add $app --description="PeerTube remote runner" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
|
@ -42,7 +42,7 @@ ynh_script_progression --message="Upgrading system configurations related to $ap
|
|||
|
||||
ynh_add_systemd_config
|
||||
|
||||
yunohost service add $app --description="Peertube remote runner" --log="/var/log/$app/$app.log"
|
||||
yunohost service add $app --description="PeerTube remote runner" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
Loading…
Add table
Reference in a new issue