vinpro I have a project is running on Node Project manager. Anyway to restart project from command line or webhook? I tried run pm2 but 'pm2' not found
vinpro aaPanel_Kern I want to restart from Terminal. My case is github action will trigger to restart project from Terminal
aaPanel_Kern vinpro Refer to this, 11 is your project name pid=`ps aux|grep $(cat /www/server/nodejs/vhost/pids/11.pid)|grep -v grep|wc -l` echo ${pid} if [ "${pid}" == "0" ];then bash /www/server/nodejs/vhost/scripts/11.sh fi