pythian / opsviz

25 stars 24 forks source link

Crontab Job with Perl one liner that fix Logstash/RabbitMQ connection is... #30

Closed buglione closed 9 years ago

buglione commented 9 years ago

...sues. Ref: INVIS229

jmetzmeier commented 9 years ago

I have one nitpick. If you pass system() a list of args instead of a single string, it won't spawn an unneeded shell. eg system('/sbin/initctl', 'restart', 'logstash'). I do however think it's fine as-is.