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:
parent
16038e6b6e
commit
34bfff4dd4
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue