A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Can updatenotification be configured to restart the main MM process?
-
I have updatenotification configured with update commands to perform module specific updates.
"module":"updatenotification", "position":"top_center", "config":{ updates: [ { "MMM-MyStandings": "git pull", }, { "MMM-MyScoreboard": "git pull && npm install --omit=dev", }, ], },
is there way to configure a MM restart command in response to a “restart required” notification?
pm2 restart MM
-
@khrusher yes. it can only restart w pm2 and knows which app to restart
-
Ok, I read that parameter as ‘restart once one of the modules in the Updates array are updated’
So updateAutorestart is based on general MM updates.
How does it know the name of the app to restart?
does it run
mp2 restart all
-
@khrusher one can determine the path of the running app
-
@sdetweil nice. how do I mark item as ‘Resolved’?
I found it!
-