fix #1063 change startup script destination (for Gentoo/OpenRC)

This commit is contained in:
atrandom 2016-08-18 21:59:45 +09:00
parent 26db9ae43d
commit 7b39f9660b

View File

@ -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
*/