Skip to content

Instantly share code, notes, and snippets.

@shbatm

shbatm/mm.json

Created Jul 9, 2017
Embed
What would you like to do?
PM2 Ecosystem File for Automatically Restarting the MM2 when config file changed
{
"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