1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/sogo_ynh.git synced 2024-09-03 20:26:07 +02:00

Update install

This commit is contained in:
ericgaspar 2022-01-15 12:12:43 +01:00
parent d501e01d72
commit 08ec109b20

View file

@ -94,7 +94,7 @@ ynh_add_config --template="../conf/sogo.conf" --destination="/etc/$app/sogo.conf
ynh_add_config --template="../conf/stunnel.conf" --destination="/etc/stunnel/$app.conf"
# Enable stunnel at startup
ynh_replace_string --match_string "ENABLED=0" --replace_string "ENABLED=1" --target_file /etc/default/stunnel4
ynh_replace_string --match_string="ENABLED=0" --replace_string="ENABLED=1" --target_file="/etc/default/stunnel4"
#=================================================
# SETUP A CRON
@ -129,7 +129,7 @@ chmod u=rwX,g=rX,o= -R /var/log/$app
#=================================================
ynh_script_progression --message="Configuring log rotation..." --weight=1
ynh_use_logrotate --logfile /var/log/$app/sogo.log --nonappend
ynh_use_logrotate --logfile="/var/log/$app/sogo.log" --nonappend
#=================================================
# INTEGRATE SERVICE IN YUNOHOST