setting up pm2
artknight opened this issue · 4 comments
artknight commented
When setting up pm2 on ubuntu 20.04 I had to add --no-sandbox
to the params to make it work.
Hope this helps
adhil-bit commented
When setting up pm2 on ubuntu 20.04 I had to add
--no-sandbox
to the params to make it work.Hope this helps
thanks how can i add args can u pls give an example...
artknight commented
@adhil-bit all you have to do is add it to the general params you are already setting. Look at the bottom of the example below
Ex.
pm2 start google-chrome \
--interpreter none \
-- \
--headless \
--disable-gpu \
--disable-translate \
--disable-extensions \
--disable-background-networking \
--safebrowsing-disable-auto-update \
--disable-sync \
--metrics-recording-only \
--disable-default-apps \
--no-first-run \
--mute-audio \
--hide-scrollbars \
--remote-debugging-port=<port goes here>
--no-sandbox
adhil-bit commented
Thanks alot bro.. Worked for me...
westy92 commented
Thank you @artknight!