Skip to content

Commit

Permalink
Add openrc to the list of documented init systems
Browse files Browse the repository at this point in the history
openrc is supported as well. Let's list it on this page!
  • Loading branch information
pva authored Apr 25, 2017
1 parent f2040ab commit a152782
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/features/startup.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ PM2 can generate startup scripts and configure them in order to keep your proces
- **systemd**: Ubuntu >= 16, CentOS >= 7, Arch, Debian >= 7
- **upstart**: Ubuntu <= 14
- **launchd**: Darwin, MacOSx
- **openrc**: Gentoo Linux, Arch Linux
- **rcd**: FreeBSD
- **systemv**: Centos 6, Amazon Linux

Expand All @@ -29,7 +30,7 @@ $ pm2 startup

You can specify the platform you use by yourself if you want to (where platform can be either one of the cited above):
```
$ pm2 startup [ubuntu | ubuntu14 | ubuntu12 | centos | centos6 | arch | oracle | amazon | macos | darwin | freesd | systemd | systemv | upstart | launchd | rcd]
$ pm2 startup [ubuntu | ubuntu14 | ubuntu12 | centos | centos6 | arch | oracle | amazon | macos | darwin | freesd | systemd | systemv | upstart | launchd | rcd | openrc]
```

The output of this command can be a recommendation of the line to copy/paste with all environment variables and options configured for you.
Expand Down Expand Up @@ -71,7 +72,7 @@ $ pm2 unstartup
The previous line code let PM2 detect your platform. Alternatively you can use another specified init system youself using:
```bash
$ pm2 unstartup [ubuntu | ubuntu14 | ubuntu12 | centos | centos6 | arch | oracle | amazon | macos | darwin | freesd | systemd | systemv | upstart | launchd | rcd]
$ pm2 unstartup [ubuntu | ubuntu14 | ubuntu12 | centos | centos6 | arch | oracle | amazon | macos | darwin | freesd | systemd | systemv | upstart | launchd | rcd | openrc]
```
## User permissions
Expand Down

0 comments on commit a152782

Please sign in to comment.