This commit is contained in:
Éric Gaspar 2023-12-31 16:03:09 +01:00
parent 6786e8e853
commit 5cc544c396
4 changed files with 6 additions and 6 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__`.

View file

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

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"
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

View file

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