This commit is contained in:
Alex D. 2018-12-10 16:58:11 +01:00
parent 855376438b
commit fa99ccfbfe

View File

@ -12,6 +12,7 @@ function maitenance {
output "info" "Clearing logs..."
rm -v /var/log/nginx/*.*
nginx -s reload
output "info" "Restarting Telegraf to update log files..."
systemctl restart telegraf
}