mirror of
https://github.com/YunoHost-Apps/send_ynh.git
synced 2025-10-09 20:23:03 +02:00
cleaning
This commit is contained in:
@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
ynh_print_info "Declaring files to be backed up..."
|
ynh_print_info "Declaring files to be backed up..."
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -1,15 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# INSTALL DEPENDENCIES
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression "Installing dependencies..."
|
|
||||||
|
|
||||||
#REMOVEME? ynh_nodejs_install
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE A REDIS DATABASE
|
# CREATE A REDIS DATABASE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
@ -18,8 +17,6 @@ ynh_redis_remove_db "$redis_db"
|
|||||||
|
|
||||||
ynh_config_remove_nginx
|
ynh_config_remove_nginx
|
||||||
|
|
||||||
#REMOVEME? ynh_nodejs_remove
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
@ -17,8 +16,6 @@ chmod +x "$install_dir/server/bin/prod.js"
|
|||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression "Reinstalling dependencies..."
|
ynh_script_progression "Reinstalling dependencies..."
|
||||||
|
|
||||||
#REMOVEME? ynh_nodejs_install
|
|
||||||
|
|
||||||
ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf"
|
ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
|
|
||||||
ynh_restore "/etc/systemd/system/$app.service"
|
ynh_restore "/etc/systemd/system/$app.service"
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
@ -26,13 +25,6 @@ ynh_setup_source --dest_dir="$install_dir" --keep="server/config.js" --full_repl
|
|||||||
|
|
||||||
chmod +x "$install_dir/server/bin/prod.js"
|
chmod +x "$install_dir/server/bin/prod.js"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# UPGRADE DEPENDENCIES
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression "Upgrading dependencies..."
|
|
||||||
|
|
||||||
#REMOVEME? ynh_nodejs_install
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
Reference in New Issue
Block a user