Skip to content
albanmartel edited this page May 6, 2014 · 1 revision

SYNTHESE Watchdog

Features

SYNTHESE Watchdog checks the availability of the HTTP server of SYNTHESE at regular interval. In case of disorder, SYNTHESE is restarted by the watchdog.

Installation

apt-get install curl
cd /opt/synthese/bin
svn export https://extranet.rcsmobility.com/svn/synthese3/trunk/utils/synthese_watchdog/watchdog.sh
cd /etc/supervisor/conf.d
svn export https://extranet.rcsmobility.com/svn/synthese3/trunk/utils/synthese_watchdog/synthese_watchdog.conf
/etc/init.d/supervisor stop
/etc/init.d/supervisor start

Execution

SYNTHESE watchdog is controled by supervisor.

To start the watchdog :


supervisorctl start synthese_watchdog

To stop the watchdog :

supervisorctl stop synthese_watchdog

NB : Stopping the SYNTHESE watchdog does not stop the main SYNTHESE process.

Source code

The source code of SYNTHESE Watchdog is available at : https://extranet.rcsmobility.com/svn/synthese3/trunk/utils/synthese_watchdog

Clone this wiki locally