Logging
This commit is contained in:
parent
855376438b
commit
fa99ccfbfe
1
manager
1
manager
|
@ -12,6 +12,7 @@ function maitenance {
|
||||||
output "info" "Clearing logs..."
|
output "info" "Clearing logs..."
|
||||||
rm -v /var/log/nginx/*.*
|
rm -v /var/log/nginx/*.*
|
||||||
nginx -s reload
|
nginx -s reload
|
||||||
|
output "info" "Restarting Telegraf to update log files..."
|
||||||
systemctl restart telegraf
|
systemctl restart telegraf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue