Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Calculator

0

75
Views
Is there a way to have a Ubuntu server automatically restart a NPM process if it fails?

I am running a Discord bot on AWS. Is it possible to have AWS redo npm start if for whatever reason the process stops running?

I couldn't find anything like this on AWS help center.

7 months ago · Juan Pablo Isaza
1 answers
Answer question

0

I think something like PM2 should help you out.

From their description:

PM2 is a production process manager for Node.js applications with a built-in load balancer. It allows you to keep applications alive forever, to reload them without downtime and to facilitate common system admin tasks.

7 months ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Plans Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.