mirror of
https://github.com/YunoHost-Apps/sogo_ynh.git
synced 2024-09-03 20:26:07 +02:00
Merge branch 'testing' into master
This commit is contained in:
commit
9b834b352e
2 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@ SOGo for Yunohost
|
||||||
=================
|
=================
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/sogo)  
|
[](https://dash.yunohost.org/appci/app/sogo)  
|
||||||
[](https://install-app.yunohost.org/?app=sogo)
|
[](https://install-app.yunohost.org/?app=sogo)
|
||||||
|
|
||||||
> *This package allow you to install sogo quickly and simply on a YunoHost server.
|
> *This package allow you to install sogo quickly and simply on a YunoHost server.
|
||||||
If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.*
|
If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.*
|
||||||
|
@ -12,7 +12,7 @@ Overview
|
||||||
|
|
||||||
SOGo is an opensource groupware solution which has Webmail, a global address book and Calender and Contacts which can be synced via caldav or cardav.
|
SOGo is an opensource groupware solution which has Webmail, a global address book and Calender and Contacts which can be synced via caldav or cardav.
|
||||||
|
|
||||||
**Shipped version:** 3.2.6-2
|
**Shipped version:** 4.0.7-1
|
||||||
|
|
||||||
Screenshots
|
Screenshots
|
||||||
-----------
|
-----------
|
||||||
|
|
|
@ -14,7 +14,7 @@ source /usr/share/yunohost/helpers
|
||||||
# Stop script if errors
|
# Stop script if errors
|
||||||
ynh_abort_if_errors
|
ynh_abort_if_errors
|
||||||
|
|
||||||
ynh_script_progression --message="Loading installation settings..."
|
ynh_print_info --message="Loading installation settings..."
|
||||||
|
|
||||||
# retrieve useful param
|
# retrieve useful param
|
||||||
domain=$(ynh_app_setting_get --app $app --key domain)
|
domain=$(ynh_app_setting_get --app $app --key domain)
|
||||||
|
@ -24,7 +24,7 @@ db_name=$(ynh_app_setting_get --app $app --key db_name)
|
||||||
# STANDARD BACKUP STEPS
|
# STANDARD BACKUP STEPS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_script_progression --message="Backing up configuration..."
|
ynh_print_info --message="Backing up configuration..."
|
||||||
|
|
||||||
# BACKUP THE NGINX CONFIGURATION
|
# BACKUP THE NGINX 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"
|
||||||
|
@ -39,11 +39,11 @@ ynh_backup --src_path "/etc/stunnel/$app.conf"
|
||||||
ynh_backup --src_path "/etc/cron.d/$app"
|
ynh_backup --src_path "/etc/cron.d/$app"
|
||||||
|
|
||||||
# Backup Logs
|
# Backup Logs
|
||||||
ynh_script_progression --message="Backing up logs"
|
ynh_print_info --message="Backing up logs"
|
||||||
ynh_backup --src_path "/var/log/$app"
|
ynh_backup --src_path "/var/log/$app"
|
||||||
|
|
||||||
# BACKUP THE MYSQL DATABASE
|
# BACKUP THE MYSQL DATABASE
|
||||||
ynh_script_progression --message="Backing up database"
|
ynh_print_info --message="Backing up database"
|
||||||
ynh_mysql_dump_db "$db_name" > db.sql
|
ynh_mysql_dump_db "$db_name" > db.sql
|
||||||
|
|
||||||
ynh_script_progression --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." --last
|
ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)."
|
||||||
|
|
Loading…
Add table
Reference in a new issue