This commit is contained in:
Alex D. 2018-12-10 16:58:11 +01:00
parent 855376438b
commit fa99ccfbfe
1 changed files with 1 additions and 0 deletions

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
}