How to Setup Ubuntu’s Upstart to Auto-start Meteor on Boot

One of the downsides of Meteor that I found is that I can’t run it via PM2 which is my favourite process manager for Node.js.

So searching around the web as you normally would, I found a thing called Upstart that exists on Ubuntu.

Let’s cut to the chase, here is the code needed to setup your Meteor to auto-run/auto-start on boot up of your OS:

Save that file as /etc/init/foobar.init – easy!


  • Brandon

    April 17, 2016 at 5:11 pm

    Thanks. I’ve been looking for something for starting Meteor that was straight to the point.

  • Francis Kim

    April 17, 2016 at 5:14 pm

    All good Brandon, any time! 🙂

  • pixeline

    May 11, 2016 at 9:10 pm

    Hi Francis!
    Thanks for the brief and to the point explanation.

    The process will start as soon as the file is saved in /etc/init/ or do I need to launch it in some way or another?

  • Francis Kim

    May 13, 2016 at 1:22 pm

    Reboot! 🙂

  • Meteor Deployment | Metodiev

    November 28, 2016 at 2:06 am

    […] 2. Configure upstart on Ubuntu to auto start the service on boot […]

Write a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.