Unitech / Unitech/pm2

Generate Upstart script instead of init.d script on Ubuntu

Open
#435 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

S: Need More Data T: Enhancement
Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

Seems like Upstart is the convention on Ubuntu nowadays. This would also make it easier to manage dependencies without modifying the script generated by generated.

E.g. create an Upstart script for starting databases and simply stating start on started pm2-init or start on starting pm2-init.

Would help with this:
https://github.com/Unitech/pm2/issues/224

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the existing init.d script generation entry point and review how startup dependencies are represented. Compare the generated output with Ubuntu's Upstart conventions and the pm2-init dependency examples in the issue. Done means Ubuntu users receive an Upstart script that supports dependency ordering without manual edits.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs, ubuntu
Domain
cli, devops, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.