Unitech / Unitech/pm2

pm2 run as sudo xxxx --no-sandbox

Open
#5,256 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

I am using pm2 to start my AppImage file on raspberry pi

my application required some hardware(GPIO, buzzer) and it seems the library I use requires permission for that.

In terminal, I use "sudo ./xxx.AppImage --no-sandbox" to start my application.

Could some please tell me how do I open my application via pm2 in this case?
Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing PM2's command-line process-start documentation and the reported Raspberry Pi invocation: sudo ./xxx.AppImage --no-sandbox. Determine whether PM2 supports this launch pattern and identify a specific documentation or implementation change; done requires a reproducible, documented way to start the AppImage with the needed permissions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
cli
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.