MagicMirror_scripts icon indicating copy to clipboard operation
MagicMirror_scripts copied to clipboard

Suggestion: allow the renaming of the MagicMirror instance in PM2

Open BKeyport opened this issue 4 years ago • 3 comments

Sam,

I'd like the option on install of MagicMirror to name the PM2 instance something other than "MagicMirror" - I redid mine to "mm", but would be nice to have a prompt that defaults to "MagicMirror" to use a name other than that.

Thanks!

BKeyport avatar Jun 24 '20 00:06 BKeyport

i'm open to a pr on that

sdetweil avatar Jun 25 '20 18:06 sdetweil

I have to say I agree, but only as I'm lazy. Easier to just write "pm2 restart MM"... :-)

CatoAntonsen avatar Oct 03 '22 12:10 CatoAntonsen

@CatoAntonsen you can also use the number of the entry instead of the name

pm2 restart 0

or if no other impacts 'all'

pm2 restart all

sdetweil avatar Oct 03 '22 13:10 sdetweil