1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git synced 2024-09-03 18:36:09 +02:00

Add specific user to logrotate

This commit is contained in:
ericgaspar 2020-09-05 21:00:13 +02:00
parent 7cc28ea31f
commit e6f5443356
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 2 deletions

View file

@ -154,7 +154,7 @@ touch $install_log
chown $app -R /var/log/$app
# Setup logrotate
ynh_use_logrotate
ynh_use_logrotate --specific_user=$app/$app
#=================================================
# INSTALL ETHERPAD

View file

@ -372,7 +372,7 @@ ynh_add_fail2ban_config --logpath="/var/log/nginx/$domain-access.log" --failrege
ynh_script_progression --message="Upgrading logrotate configuration..."
# Use logrotate to manage app-specific logfile(s)
ynh_use_logrotate --non-append
ynh_use_logrotate --non-append --specific_user=$app/$app
#=================================================
# SETUP SYSTEMD