weareinteractive / ansible-pm2

Ansible role which installs pm2 and manages apps
MIT License
82 stars 29 forks source link

Trying to setup PM2 to run app as user app instead of ubuntu and setup custom log directory #21

Closed Sdhowell3 closed 7 years ago

Sdhowell3 commented 7 years ago

This is my setup for my vars file for my pm2 `pm2_apps:

I thought I could set the pm2 user but it seems to be overriding somehow. Also I can't seem to setup my logging correctly so that they are not in /home/ubuntu even though the app should be running /home/app and the logs be in there.

Sdhowell3 commented 7 years ago

I figured it out `pm2_apps: