skip to Main Content

Pm2 startup issue with CENTOS 8 / SELinux

Please, do you know how resolve this issue ? I searched everywhere without finding. 06:45 SELinux is preventing systemd from open access on the file /root/.pm2/pm2.pid. For complete SELinux messages run: sealert -l d84a5a0b-cfcf-4cb9-918a-c0952bf70600 setroubleshoot 06:45 pm2-root.service: Can't convert PID…

VIEW QUESTION

pm2 via apache server

I want to control my pm2 app via apache server. I have tried it via a bash script and php. Here is my index.php: <html> <head> <meta c </head> <?php if (isset($_POST['RightOPEN'])) { exec("/home/pi/startmm.sh"); } if (isset($_POST['LeftOPEN'])) { exec("/home/pi/channel4.sh"); }…

VIEW QUESTION
Back To Top
Search