mirror of
https://github.com/YunoHost-Apps/peertube_remote_runner_ynh.git
synced 2024-09-03 19:56:21 +02:00
cleaning
This commit is contained in:
parent
6786e8e853
commit
5cc544c396
4 changed files with 6 additions and 6 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__`.
|
||||
|
||||
|
|
|
@ -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