After a site name change, how to check & restart PM2?

Hi,
After a name change, a site created via Sites->Add new site->Directus does not restart.
How to restart PM2 with the new name? I couldn’t locate ecosystem.config.js .

Hello @kamalito,

Can you please let me know email address associated with your account via PM?

Problem solved. PM2 config files are named .config.cleavr.js on Cleavr.

Hello @anish .
I was able to restart PM2 by using the following command “pm2 start .cleavr.config.js” from the current folder of the renamed site, followed by a “PM save”.

Hello @kamalito,

We are pleased to hear that you have been able to resolve the issue.

I’ll create a ticket to investigate further and ensure site renaming works without any issues.

1 Like

Thanks for your support @anish

1 Like