Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Systemd init script support #308

Closed
benkaiser opened this issue Feb 16, 2014 · 6 comments
Closed

Systemd init script support #308

benkaiser opened this issue Feb 16, 2014 · 6 comments

Comments

@benkaiser
Copy link

Related to issue #55
With the recent news of both Debian and Ubuntu moving to systemd, it makes sense that pm2 startup should add support for systemd startup scripts, perhaps via pm2 startup systemd. This would also bring support for Arch Linux and Fedora that already use systemd.

@rlidwka
Copy link
Collaborator

rlidwka commented Feb 18, 2014

imho, it should be pm2 startup systemd and pm2 startup upstart instead of pm2 startup ubuntu or whatever

I mean, init system is significant here, but distro name isn't.

@rlidwka
Copy link
Collaborator

rlidwka commented Feb 18, 2014

or just pm2 startup and auto-detect init system if possible

@benkaiser
Copy link
Author

@rlidwka yeh you are right, it is the init system. However I don't know if different distros use different locations for init scripts? I guess the init system can fetch those locations? But yes using pm2 startup systemd and pm2 startup upstart makes more sense. Or the auto-detection.

@soyuka
Copy link
Collaborator

soyuka commented Feb 24, 2014

#115 related
#312 auto-detect platform

@alexandernst
Copy link

The whole point of using systemd is to ... well... actually use it. So that should be, as all other software packages that use systemd, systemd startup/stop/restart pm2.

@Unitech
Copy link
Owner

Unitech commented Apr 4, 2014

#333

@Unitech Unitech closed this as completed Apr 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants