A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
When restarted with pm2 restart mm : i have 2 session's of mm
- 
 pi@raspberrypi-184:~/MagicMirror $ pm2 restart mm Use --update-env to update environment variables [PM2] Applying action restartProcessId on app [mm](ids: 0,1) [PM2] [mm](0) ✓ [PM2] [mm](1) ✓ ┌──────────┬────┬─────────┬──────┬───────┬─────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐ │ App name │ id │ version │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │ ├──────────┼────┼─────────┼──────┼───────┼─────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤ │ mm │ 0 │ 2.10.1 │ fork │ 0 │ errored │ 18752 │ 0 │ 0% │ 0 B │ pi │ disabled │ │ mm │ 1 │ N/A │ fork │ 23210 │ online │ 7 │ 0s │ 0% │ 2.5 MB │ pi │ disabled │ └──────────┴────┴─────────┴──────┴───────┴─────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘ Use `pm2 show <id|name>` to get more details about an appWhen restarted with pm2 restart mm : i have 2 session’s of mm 
 session 0 is errored !
 What is the solution to stopped and deleted one of then ?Thanks 
- 
 @Doudy said in When restarted with pm2 restart mm : i have 2 session's of mm: What is the solution to stopped and deleted one of then ? pm2 delete 0 
- 
 @sdetweil 
 that is OK !pi@raspberrypi-184:~ $ pm2 delete 0 [PM2] Applying action deleteProcessId on app [0](ids: 0) [PM2] [mm](0) ✓ ┌──────────┬────┬─────────┬──────┬─────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐ │ App name │ id │ version │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │ ├──────────┼────┼─────────┼──────┼─────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤ │ mm │ 1 │ N/A │ fork │ 992 │ online │ 0 │ 11m │ 0% │ 2.5 MB │ pi │ disabled │ └──────────┴────┴─────────┴──────┴─────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘ Use `pm2 show <id|name>` to get more details about an app pi@raspberrypi-184:~ $ pm2 restart mm Use --update-env to update environment variables [PM2] Applying action restartProcessId on app [mm](ids: 1) [PM2] [mm](1) ✓ ┌──────────┬────┬─────────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐ │ App name │ id │ version │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │ ├──────────┼────┼─────────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤ │ mm │ 1 │ N/A │ fork │ 7839 │ online │ 1 │ 0s │ 0% │ 2.6 MB │ pi │ disabled │ └──────────┴────┴─────────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘ Use `pm2 show <id|name>` to get more details about an app pi@raspberrypi-184:~ $Thanks 
