Browse Source

Changed filepaths in the monit .conf files to /usr/sbin/ directory

master
Alex Buckley 4 years ago
parent
commit
c83bfb4bc3
  1. 4
      koha-plack/plack.conf
  2. 8
      koha-zebra/zebra.conf

4
koha-plack/plack.conf

@ -2,5 +2,5 @@ set logfile /var/log/monit.log
set idfile /var/lib/monit/id
set statefile /var/lib/monit/state
check program checkplack with path /etc/monit/checkplack.sh
if status = 1 then exec "/etc/monit/restartplack.sh"
check program checkplack with path /usr/sbin/checkplack.sh
if status = 1 then exec "/usr/sbin/restartplack.sh"

8
koha-zebra/zebra.conf

@ -2,8 +2,8 @@ set logfile /var/log/monit.log
set idfile /var/lib/monit/id
set statefile /var/lib/monit/state
check program checkzebra with path /etc/monit/checkzebra.sh
if status = 1 then exec "/etc/monit/restartzebra.sh"
check program checkzebra with path /usr/sbin/checkzebra.sh
if status = 1 then exec "/usr/sbin/restartzebra.sh"
check program checkindex with path /etc/monit/checkindex.sh
if status = 1 then exec "/etc/monit/reindexzebra.sh"
check program checkindex with path /usr/sbin/checkindex.sh
if status = 1 then exec "/usr/sbin/reindexzebra.sh"

Loading…
Cancel
Save