https://github.com/MichMich/MMM-WatchDog
This MagicMirror² module keeps an eye on your UI and restarts the app in case the UI crashes.
https://github.com/MichMich/MMM-WatchDog
Last synced: 7 months ago
JSON representation
This MagicMirror² module keeps an eye on your UI and restarts the app in case the UI crashes.
- Host: GitHub
- URL: https://github.com/MichMich/MMM-WatchDog
- Owner: MichMich
- License: mit
- Created: 2016-09-15T10:17:00.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-23T04:18:09.000Z (almost 8 years ago)
- Last Synced: 2025-06-02T17:38:49.846Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 48
- Watchers: 6
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mmm - **MMM-WatchDog**
README
# MMM-WatchDog
This MagicMirror² module keeps an eye on your UI and quits app in case the UI crashes.
If you combine this with the [PM2 process manager](https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror#using-pm2), MM2 will automaticly restart after a UI failure.
## Installation
In your terminal, go to your MagicMirror's Module folder:
````
cd ~/MagicMirror/modules
````
Clone this repository:
````
git clone https://github.com/MichMich/MMM-WatchDog.git
````
Configure the module in your `config.js` file.
## Using the module
To use this module, add it to the modules array in the `config/config.js` file:
````javascript
modules: [
{
module: 'MMM-WatchDog',
config: {
// See 'Configuration options' for more information.
}
}
]
````
## Configuration options
The following properties can be configured:
Option
Description
interval
The number of seconds between each Heartbeat.
Default value: 2
timeout
The timeout in seconds before the MagicMirror² app quits.
Default value: 10