Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Latest commit

 

History

History
31 lines (27 loc) · 1.09 KB

README.md

File metadata and controls

31 lines (27 loc) · 1.09 KB

MMM-Pull

MMM-Pull is a module for the MagicMirror project by Michael Teeuw.

This module enables the user to pull updates for modules and/or MagicMirror itself via Telegram commands.

Installation

Clone the module into your MagicMirror modules folder and execute npm install in the module's directory.

git clone https://github.com/mboskamp/MMM-Pull.git
cd MMM-Pull
npm install

Configuration

To start the module insert it in the config.js file. Here is an example:

{
    module: 'MMM-Pull',
    position: 'bottom_center',
    config: {
        excludeModules: ['MMM-Pull'],
        restartScript: 'pm2 restart ~/mm.sh'
    }
}

Option Description Type Default
excludeModules Array of module names that should not be pulled via this module. Array of Strings none
restartScript Script to restart your MagicMirror after pulling changes. If not specified the MagicMirror will not restart after successfully pulling changes. String none