mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
Update restore
This commit is contained in:
parent
3b0e38a32d
commit
bfc47ecbb0
1 changed files with 16 additions and 4 deletions
|
@ -68,7 +68,18 @@ ynh_mysql_connect_as $db_name $db_pwd $db_name < ./db.sql
|
|||
|
||||
# Define and install dependencies
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
Recheck local
|
||||
#Check & regen local
|
||||
for i in $lang ; do
|
||||
ynh_replace_string "# $i" "$i" /etc/locale.gen
|
||||
done
|
||||
locale-gen
|
||||
|
||||
#=================================================
|
||||
# RESTORE POSTFIX ALIASES
|
||||
#=================================================
|
||||
|
||||
ynh_restore_file $postfix
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE CRON FILE
|
||||
|
@ -76,12 +87,13 @@ ynh_install_app_dependencies $pkg_dependencies
|
|||
|
||||
ynh_restore_file "/etc/cron.d/$app"
|
||||
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
# RELOAD NGINX AND PHP-FPM
|
||||
# RELOAD NGINX & ALIASES
|
||||
#=================================================
|
||||
|
||||
systemctl reload php5-fpm
|
||||
sudo newaliases
|
||||
systemctl reload nginx
|
||||
systemctl reload postfix
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue