Jump to content

Recommended Posts

Maybe I have a little solution for VPS using PM2, PM2 ensures that Application continues to run without stopping, even if Aapplication has problems, if Application fails or crashes, PM2 will automatically restart..

Stop your Nodejs, then run this command in terminal to run nodejs with PM2.
Customize where your logs file are stored..

pm2 start server.js --name mpwa --log /home/users/logs/mpwa.log --output /home/users/logs/mpwa-output.log

"I use this on aaPanel and cPanel shared hosting running PM2 on nodejs virtual environments and so far nodejs has never crashed."

3 hours ago, Unicode said:

Kemahalan om. 

Bener utk budget 50rb/ bln hosting udah gk worth it.

udah dpt vps spek paling rendah, dan bebas kostumisasi

Bnr sekarang juga ada vps 50rb bln bahkan ada yg murah lagi tapi GK tau tempatnya 🤭

23 minutes ago, Fud said:

Bnr sekarang juga ada vps 50rb bln bahkan ada yg murah lagi tapi GK tau tempatnya 🤭

Kalo ada budget segitu mending ambil contabo sekalian nambah dikit udah dpt spek bagus cpu 2 core, ram 4GB bebas pilih nvme 50GB / ssd 200GB. 
 

kalo mau dijual lagi jadi hosting juga bisa 😅.

sebenarnya kita selama ini dibodohi seller hosting.

1 hour ago, Unicode said:

Kalo ada budget segitu mending ambil contabo sekalian nambah dikit udah dpt spek bagus cpu 2 core, ram 4GB bebas pilih nvme 50GB / ssd 200GB. 
 

kalo mau dijual lagi jadi hosting juga bisa 😅.

sebenarnya kita selama ini dibodohi seller hosting.

here who want, i have some resource for hosting, i have vps for annual payment, 100k IDR it enough for Whatsapp API,

20 hours ago, Remos said:

@MURASAKI. Please can you send for cpanel

maybe you can try to start and stop node js from shared host terminal using cloudlinux-selector

cloudlinux-selector stop --json --interpreter nodejs --user usercpanel --app-root /home/usercpanel/pathproject

cloudlinux-selector start --json --interpreter nodejs --user usercpanel --app-root /home/usercpanel/pathproject

or restart 

and then create bash script or use exec with php script, run it on cron

Edited by Dewa IQOOZ7
3 hours ago, Dewa IQOOZ7 said:

maybe you can try to start and stop node js from shared host terminal using cloudlinux-selector

cloudlinux-selector stop --json --interpreter nodejs --user usercpanel --app-root /home/usercpanel/pathproject

cloudlinux-selector start --json --interpreter nodejs --user usercpanel --app-root /home/usercpanel/pathproject

or restart 

and then create bash script or use exec with php script, run it on cron

nah, for cpanel.

Thanks for sharing with us.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...