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

Restore logrotate config

fix https://github.com/YunoHost-Apps/lutim_ynh/issues/15
This commit is contained in:
Maniack Crudelis 2017-04-19 19:23:23 +02:00 committed by GitHub
parent df17dfd2c8
commit 1dcaf5ded0

View file

@ -108,6 +108,12 @@ sudo mkdir -p /var/log/$app/
sudo touch /var/log/$app/production.log
sudo chown $app: -R /var/log/$app
#=================================================
# RESTORE THE LOGROTATE CONFIGURATION
#=================================================
sudo cp -a ./logrotate /etc/logrotate.d/$app
#=================================================
# START LUTIM
#=================================================