You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
based on if the passenger.8080.pid exists AND has a PID number Also changed the restartcoce.sh file so the cd and passenger-start commands are not sudo or in ``
|2 years ago|
|README||2 years ago|
|checkcoce.sh||2 years ago|
|coce.conf||2 years ago|
|restartcoce.sh||2 years ago|
Koha::Contrib::koha-plack - Monit conf file and bash scripts to monitor and automatically restart failed Plack instances
koha-plack directory contains a Monit .conf file (plack.conf) and two bash scripts (checkplack.sh and restartplack.sh). Move the plack.conf into the /etc/monit/conf.d directory and run monit using the following commands:
sudo service monit start
monit start all
plack.conf will monitor your plack instances using the checkplack.sh script. If that script returns a 1 then the restartplack.sh script is run and that starts the appropriate plack instance
All output of the monitoring is logged in the /var/log/monit.log
Catalyst IT 2017
This is free software, licensed under:
the GNU GPL version 3 or later.