Merge pull request #8 from YunoHost-Apps/testing

Automated testing -> master
This commit is contained in:
Salamandar 2024-06-23 18:14:23 +02:00 committed by GitHub
commit 21109fbbba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 7 deletions

View file

@ -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__`. The app install dir is `__INSTALL_DIR__`.

View file

@ -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). 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

View file

@ -21,7 +21,7 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # 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" chown -R $app:www-data "$install_dir"
@ -33,12 +33,12 @@ popd
#================================================= #=================================================
# SYSTEM CONFIGURATION # 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 # Create a dedicated systemd config
ynh_add_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 # GENERIC FINALIZATION

View file

@ -41,7 +41,7 @@ ynh_script_progression --message="Restoring system configurations related to $ap
ynh_restore_file --origin_path="/etc/systemd/system/$app.service" ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service --quiet 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 # GENERIC FINALIZATION

View file

@ -42,7 +42,7 @@ ynh_script_progression --message="Upgrading system configurations related to $ap
ynh_add_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"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE