Answer the question
In order to leave comments, you need to log in
Bash how to hide certbot renew output?
There is a certain monitoring system, and I throw into it a rule to check the certificate GENERATOR that it works well, not current certificates, namely that it issues certificates to sites and is able to do this until they end, and unnecessary (deleted sites) are correctly deleted. certbot renew --dry-run
Only the completion code 0 or 1 gets into the monitoring system, respectively
, BUT this service has a debility system that will not allow you to take a large output, but just a couple of lines, there are a lot of them, then it ends with a shitty code and stops working.
In general, I need the output line to be either minimal or empty, but the completion code is given. > /dev/nool
- doesn't work
the same way| grep чего-нибудь
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question