Created
July 9, 2017 19:31
-
-
Save shbatm/62f769bca0e0d6b48d86f722561e8de1 to your computer and use it in GitHub Desktop.
PM2 Ecosystem File for Automatically Restarting the MM2 when config file changed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apps":[ | |
{ | |
"name":"mm", | |
"script":"./mm.sh", | |
"cwd":"/home/pi", | |
"watch":[ | |
"/home/pi/MagicMirror/config/config.js" | |
], | |
"watch_options":{ | |
"followSymlinks":true | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment