1
0
Fork 0
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:
Josué Tille 2019-09-30 10:37:22 +02:00
parent 8789aa304d
commit 632ca35958
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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
#================================================= #=================================================