mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Update logrotate helper
This commit is contained in:
parent
8789aa304d
commit
632ca35958
3 changed files with 3 additions and 3 deletions
|
@ -340,7 +340,7 @@ ynh_store_file_checksum --file="$coturn_config_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring log rotation..." --weight=2
|
ynh_script_progression --message="Configuring log rotation..." --weight=2
|
||||||
|
|
||||||
ynh_use_logrotate "/var/log/matrix-$app"
|
ynh_use_logrotate --logfile "/var/log/matrix-$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD SCRIPT FOR COTURN CRON
|
# ADD SCRIPT FOR COTURN CRON
|
||||||
|
|
|
@ -221,7 +221,7 @@ python3 ../settings/conf/add_sso_conf.py || ynh_die --message="Your file /etc/ss
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring log rotation..."
|
ynh_script_progression --message="Configuring log rotation..."
|
||||||
|
|
||||||
ynh_use_logrotate /var/log/matrix-$app
|
ynh_use_logrotate --logfile /var/log/matrix-$app
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
|
@ -244,7 +244,7 @@ then
|
||||||
# MAKE A CLEAN LOGROTATE CONFIG
|
# MAKE A CLEAN LOGROTATE CONFIG
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_use_logrotate /var/log/matrix-$app --non-append
|
ynh_use_logrotate --logfile /var/log/matrix-$app --non-append
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue