Skip to content

This MagicMirror² module keeps an eye on your UI and restarts the app in case the UI crashes.

License

Notifications You must be signed in to change notification settings

MichMich/MMM-WatchDog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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, 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:

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

About

This MagicMirror² module keeps an eye on your UI and restarts the app in case the UI crashes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages