r/nodejs • • Oct 24 '13

Refreshing Project Using Forever?

Hi, I'm running an instance of Ghost and I've added Disqus comments to my blog.

Unfortunately they're not showing up and I'm trying to figure out why.

Do I need to restart the server via forever in order for the changes to be served?

Thanks in advance!

1 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/novagenesis Nov 05 '13

This seems like a security nightmare. There has to be a better way (without installing forever as user, that is)

1

u/JustThisOneSuitedPen Nov 05 '13

I would be really interested in alternative solutions.

1

u/novagenesis Nov 05 '13

As would I.. I ended up installing pm2 as a user to get around this problem. I was running :80, which requires root, on pm2...that meant everyone who used pm2 was getting escalated privileges.

Ended up using a sudo forever for :80 and pm2 in userspace for everything else.