mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
fix #1063 change startup script destination (for Gentoo/OpenRC)
This commit is contained in:
parent
26db9ae43d
commit
7b39f9660b
@ -81,6 +81,10 @@ module.exports = function(CLI) {
|
||||
destination = '/etc/rc.d/pm2';
|
||||
}
|
||||
|
||||
if (platform == 'gentoo') {
|
||||
destination = '/etc/init.d/pm2'
|
||||
}
|
||||
|
||||
/**
|
||||
* 2# Resolve template file path
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user