1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautic_ynh.git synced 2024-09-03 19:36:26 +02:00
This commit is contained in:
Éric Gaspar 2024-06-17 21:47:35 +02:00
parent 98fbd0b8dd
commit 137fb95645
2 changed files with 5 additions and 13 deletions

View file

@ -7,7 +7,7 @@ description.fr = "Logiciel d'automatisation marketing"
version = "5.1.0~ynh1" version = "5.1.0~ynh1"
maintainers = ["eric_G"] maintainers = []
[upstream] [upstream]
license = "GPL-3.0-only" license = "GPL-3.0-only"
@ -41,10 +41,10 @@ ram.runtime = "50M"
[resources] [resources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/mautic/mautic/archive/refs/tags/5.1.0.tar.gz" url = "https://github.com/mautic/mautic/releases/download/5.1.0/5.1.0.zip"
sha256 = "7bcfa9ac24d00f74ed44c495e448a456ca89408842c8dfa53aa5b8f3030f7203" sha256 = "354786dcd68bd080452b47b6992411690079a12235ba9bda93b824b63f4f3a28"
in_subdir = false in_subdir = false
autoupdate.strategy = "latest_github_tag" autoupdate.strategy = "latest_github_release"
[resources.system_user] [resources.system_user]
allow_email = true allow_email = true

View file

@ -19,21 +19,13 @@ ynh_print_info --message="Declaring files to be backed up..."
ynh_backup --src_path="$install_dir" ynh_backup --src_path="$install_dir"
#================================================= #=================================================
# BACKUP THE NGINX CONFIGURATION # SYSTEM CONFIGURATION
#================================================= #=================================================
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# BACKUP THE PHP-FPM CONFIGURATION
#=================================================
ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#=================================================
# BACKUP VARIOUS FILES
#=================================================
ynh_backup --src_path="/etc/cron.d/$app" ynh_backup --src_path="/etc/cron.d/$app"
#================================================= #=================================================