Replies: 1 comment
-
Can you paste the entire contents of your update.sh script? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My GH webhook call on push works and it calls
update.sh
. The update script containspm2 restart all
. This causes the following journalctl log:However, in my script I do have
HOME=/root
along withPATH=...
to make the pm2 binary work! Everything is running with theroot
user. Here's the two PM2 instances;Have I set something up wrong here? Is there another approach?
Beta Was this translation helpful? Give feedback.
All reactions