Aligner le paquet sur le modèle YunoHost
This commit is contained in:
parent
1a45355ed3
commit
7ae2307abf
16 changed files with 302 additions and 35 deletions
|
|
@ -1,6 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
#=================================================
|
||||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
|
||||
source ../settings/scripts/_common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# DECLARE DATA TO BACK UP
|
||||
#=================================================
|
||||
|
||||
ynh_print_info "Declaring files to be backed up..."
|
||||
|
||||
ynh_backup "$install_dir"
|
||||
ynh_backup "$data_dir"
|
||||
ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
ynh_backup "/etc/php/$php_version/fpm/pool.d/$app.conf"
|
||||
|
||||
ynh_print_info "Backup script completed for $app"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue