Oops, fix bug in pm2 setup
Oh, I made a typo that caused pm2 to be running our processes as `root` instead of `matchu`! Let's very fix that!! 😳 I noticed this because I'm trying Puppeteer, and it got upset about running in sandboxed mode as root, and I'm like "as root??" So yeah, good, fixed, lol 😬
This commit is contained in:
parent
20fff261ef
commit
587aa09efc
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@
|
||||||
# process. They'll be able to manage it without `sudo`, including during
|
# process. They'll be able to manage it without `sudo`, including during
|
||||||
# normal deploys, and run `pm2 monit` from their shell to see status.
|
# normal deploys, and run `pm2 monit` from their shell to see status.
|
||||||
become: yes
|
become: yes
|
||||||
command: "pm2 startup systemd {{ ansible_user_id }} --hp /home/{{ ansible_user_id }}"
|
command: "pm2 startup systemd -u {{ ansible_user_id }} --hp /home/{{ ansible_user_id }}"
|
||||||
|
|
||||||
- name: Create pm2 ecosystem file
|
- name: Create pm2 ecosystem file
|
||||||
copy:
|
copy:
|
||||||
|
|
Loading…
Reference in a new issue