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

Fix log rotation

This commit is contained in:
Josué Tille 2019-11-04 20:27:16 +01:00
parent 16038e6b6e
commit 34bfff4dd4
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
3 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ python3 add_sso_conf.py
# SETUP LOGROTATE # SETUP LOGROTATE
ynh_script_progression --message="Configuring log rotation..." ynh_script_progression --message="Configuring log rotation..."
ynh_use_logrotate --logfile /var/log/$app/sogo.log --non-append ynh_use_logrotate --logfile /var/log/$app/sogo.log --nonappend
# Restart services # Restart services
ynh_script_progression --message="Starting sogo services..." --weight=3 ynh_script_progression --message="Starting sogo services..." --weight=3

View file

@ -58,7 +58,7 @@ set_permission
python3 ../settings/scripts/add_sso_conf.py python3 ../settings/scripts/add_sso_conf.py
# SETUP LOGROTATE # SETUP LOGROTATE
ynh_use_logrotate --logfile /var/log/$app/sogo.log --non-append ynh_use_logrotate --logfile /var/log/$app/sogo.log --nonappend
# Restart services # Restart services
ynh_script_progression --message="Starting SOGo services..." --weight=3 ynh_script_progression --message="Starting SOGo services..." --weight=3

View file

@ -116,7 +116,7 @@ python3 add_sso_conf.py
# SETUP LOGROTATE # SETUP LOGROTATE
ynh_script_progression --message="Configuring log rotation..." ynh_script_progression --message="Configuring log rotation..."
ynh_use_logrotate --logfile /var/log/$app/sogo.log ynh_use_logrotate --logfile /var/log/$app/sogo.log --nonappend
# Restart services # Restart services
ynh_script_progression --message="Starting SOGo services..." --weight=3 ynh_script_progression --message="Starting SOGo services..." --weight=3