mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
cleaning
This commit is contained in:
parent
5f1c35370e
commit
eb6375fe44
1 changed files with 7 additions and 6 deletions
|
@ -56,18 +56,17 @@ ynh_app_setting_set $app final_path $final_path
|
|||
#=================================================
|
||||
ynh_print_info "Installing dependencies"
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
sleep 1s
|
||||
|
||||
#install locale (nginx will restart at the end of the install)
|
||||
for i in $lang ; do
|
||||
ynh_replace_string "# $i" "$i" /etc/locale.gen
|
||||
done
|
||||
sleep 1s
|
||||
|
||||
locale-gen
|
||||
|
||||
#=================================================
|
||||
#INSTALL SOURCES
|
||||
#===============================================
|
||||
# Copy source files
|
||||
|
||||
ynh_print_info "Downloading sources to $final_path"
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
|
@ -148,8 +147,10 @@ then
|
|||
ynh_app_setting_set $app unprotected_uris "/"
|
||||
fi
|
||||
|
||||
# Restart services
|
||||
systemctl reload nginx
|
||||
systemctl reload postfix
|
||||
#=================================================
|
||||
# RELOAD SERVICES
|
||||
#=================================================
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
ynh_systemd_action --service_name=postfix --action=reload
|
||||
service php* reload
|
||||
|
||||
|
|
Loading…
Reference in a new issue