Skip to content

Commit

Permalink
avniproject/avni-infra#31 | Setup pm2 startup service for avni-media …
Browse files Browse the repository at this point in the history
…during install - code review comments
  • Loading branch information
1t5j0y committed Jun 26, 2024
1 parent f5db7b9 commit d4d9b58
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion deploy/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ EOF

#Persist apps to ensure they get restarted automatically
sudo su - avni-media-user << EOF
pm2 startup systemd
sudo env PATH=$PATH:/home/avni-media-user/.nvm/versions/node/v19.8.1/bin /home/avni-media-user/.nvm/versions/node/v19.8.1/lib/node_modules/pm2/bin/pm2 startup systemd -u avni-media-user --hp /home/avni-media-user
pm2 save
EOF

0 comments on commit d4d9b58

Please sign in to comment.