From d4d9b586511ba4623478fb3fe247f95e0a828355 Mon Sep 17 00:00:00 2001 From: Joy A Date: Wed, 26 Jun 2024 10:32:25 +0530 Subject: [PATCH] avniproject/avni-infra#31 | Setup pm2 startup service for avni-media during install - code review comments --- deploy/install.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/deploy/install.sh b/deploy/install.sh index d009a0c..25db549 100644 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -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