mirror of
https://github.com/YunoHost-Apps/send_ynh.git
synced 2025-04-06 17:54:05 +02:00
cleaning
This commit is contained in:
parent
aef113307b
commit
ac39aded73
@ -53,6 +53,8 @@ ram.runtime = "50M"
|
||||
|
||||
[resources.install_dir]
|
||||
|
||||
[resources.data_dir]
|
||||
|
||||
[resources.permissions]
|
||||
main.url = "/"
|
||||
main.additional_urls = ["/api/upload"]
|
||||
|
@ -11,6 +11,12 @@ ynh_print_info "Declaring files to be backed up..."
|
||||
|
||||
ynh_backup "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# BACKUP THE DATA DIR
|
||||
#=================================================
|
||||
|
||||
ynh_backup "$data_dir"
|
||||
|
||||
#=================================================
|
||||
# SYSTEM CONFIGURATION
|
||||
#=================================================
|
||||
|
@ -12,6 +12,13 @@ ynh_restore "$install_dir"
|
||||
|
||||
chmod +x "$install_dir/server/bin/prod.js"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE DATA DIRECTORY
|
||||
#=================================================
|
||||
ynh_script_progression "Restoring the data directory..."
|
||||
|
||||
ynh_restore "$data_dir"
|
||||
|
||||
#=================================================
|
||||
# REINSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user