Commit 8bd20720 authored by deepak.sharma's avatar deepak.sharma

Edited crontab to check libreoffice service every 5 min. instead of 30 min.

parent 12c9d34a
{% if grains['os_family'] == 'RedHat' or grains['oscodename'] != 'trusty' %}
*/30 * * * * root java -jar /usr/lib/libreoffice/oocheck.jar || systemctl restart libreoffice
*/5 * * * * root java -jar /usr/lib/libreoffice/oocheck.jar || systemctl restart libreoffice
{% else %}
*/30 * * * * root java -jar /usr/lib/libreoffice/oocheck.jar || service libreoffice restart
*/5 * * * * root java -jar /usr/lib/libreoffice/oocheck.jar || service libreoffice restart
{% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment